public abstract class Transfer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private TransferListener |
listener |
private RequestTrace |
trace |
Constructor and Description |
---|
Transfer() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Exception |
getException()
Gets the exception that occurred during the transfer (if any).
|
TransferListener |
getListener()
Gets the listener that is to be notified during the transfer.
|
RequestTrace |
getTrace()
Gets the trace information that describes the higher level request/operation in which this transfer is issued.
|
(package private) Transfer |
setListener(TransferListener listener)
Sets the listener that is to be notified during the transfer.
|
(package private) Transfer |
setTrace(RequestTrace trace)
Sets the trace information that describes the higher level request/operation in which this transfer is issued.
|
private TransferListener listener
private RequestTrace trace
public abstract java.lang.Exception getException()
null
if the transfer was successful.public TransferListener getListener()
null
if none.Transfer setListener(TransferListener listener)
listener
- The transfer listener to notify, may be null
if none.null
.public RequestTrace getTrace()
null
if none.Transfer setTrace(RequestTrace trace)
trace
- The trace information about the higher level operation, may be null
.null
.