public static interface OutgoingFileTransfer.NegotiationProgress
Modifier and Type | Method and Description |
---|---|
void |
errorEstablishingStream(Exception e)
Called when an exception occurs during the negotiation progress.
|
void |
outputStreamEstablished(OutputStream stream)
Once the negotiation process is completed the output stream can be
retrieved.
|
void |
statusUpdated(FileTransfer.Status oldStatus,
FileTransfer.Status newStatus)
Called when the status changes.
|
void statusUpdated(FileTransfer.Status oldStatus, FileTransfer.Status newStatus)
oldStatus
- the previous status of the file transfer.newStatus
- the new status of the file transfer.void outputStreamEstablished(OutputStream stream)
stream
- the established stream which can be used to transfer the file to the remote
entityvoid errorEstablishingStream(Exception e)
e
- the exception that occurred.