public final class SerialComFTPCMDAbort extends Object
Acts as a messenger between application and serialpundit to specify whether sending/receiving file should continue or be aborted.
| Constructor and Description |
|---|
SerialComFTPCMDAbort()
Allocates a new SerialComFTPCMDAbort object with initial state as continue to
transfer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
abortTransfer()
Instructs this library to stop sending file if called by file sender,
or to stop receiving file if called by file receiver using Xmodem or
its variant protocols.
|
boolean |
isTransferToBeAborted()
Checks whether file transfer or reception should be aborted or not.
|
public SerialComFTPCMDAbort()
Allocates a new SerialComFTPCMDAbort object with initial state as continue to transfer.
public void abortTransfer()
Instructs this library to stop sending file if called by file sender, or to stop receiving file if called by file receiver using Xmodem or its variant protocols.
public boolean isTransferToBeAborted()
Checks whether file transfer or reception should be aborted or not.
Copyright © 2017. All rights reserved.