public interface Endpoint extends Extendable
Modifier and Type | Method and Description |
---|---|
void |
close()
transition local state to CLOSED
|
void |
free()
free the endpoint and any associated resources
|
ErrorCondition |
getCondition() |
java.lang.Object |
getContext() |
EndpointState |
getLocalState() |
ErrorCondition |
getRemoteCondition() |
EndpointState |
getRemoteState() |
void |
open()
transition local state to ACTIVE
|
void |
setCondition(ErrorCondition condition)
Set the local error condition
|
void |
setContext(java.lang.Object o)
Sets an arbitrary an application owned object on the end-point.
|
attachments
EndpointState getLocalState()
EndpointState getRemoteState()
ErrorCondition getCondition()
void setCondition(ErrorCondition condition)
condition
- ErrorCondition getRemoteCondition()
void free()
void open()
void close()
void setContext(java.lang.Object o)
java.lang.Object getContext()
setContext(Object)