public final class SerialComXModemAbort extends Object
Acts as a messenger between application and SCM library to specify whether sending/receiving file should continue or be aborted.
| Constructor and Description |
|---|
SerialComXModemAbort()
Allocates a new SerialComXModemAbort object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
abortTransfer()
Instructs SCM 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 SerialComXModemAbort()
Allocates a new SerialComXModemAbort object.
public void abortTransfer()
Instructs SCM 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 © 2016. All rights reserved.