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() |
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(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(Object o)
Object getContext()
setContext(Object)
Copyright © 2016 The Apache Software Foundation. All rights reserved.