public class TransferMonitoringContext
extends java.lang.Object
Constructor and Description |
---|
TransferMonitoringContext(java.lang.String description) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the monitoring context since no more transfers are expected.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
boolean |
isClosed() |
void |
setDescription(java.lang.String description)
Update the description, such as when we have received more information like the name of the sender.
|
java.lang.String |
toString() |
public TransferMonitoringContext(java.lang.String description)
public void setDescription(java.lang.String description)
Update the description, such as when we have received more information like the name of the sender.
description
- new descriptionpublic void close()
Close the monitoring context since no more transfers are expected.
public boolean isClosed()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object