public interface Connection extends Endpoint
sessionHead(EnumSet, EnumSet)
, linkHead(EnumSet, EnumSet)
getWorkHead()
respectively.Modifier and Type | Method and Description |
---|---|
Object |
getContext() |
String |
getRemoteContainer() |
Symbol[] |
getRemoteDesiredCapabilities() |
String |
getRemoteHostname() |
Symbol[] |
getRemoteOfferedCapabilities() |
Map<Symbol,Object> |
getRemoteProperties() |
Delivery |
getWorkHead()
Returns the head of the delivery work list.
|
Link |
linkHead(EnumSet<EndpointState> local,
EnumSet<EndpointState> remote)
Returns the head of the list of links in the specified states.
|
Session |
session()
Returns a newly created session
TODO does the Connection's channel-max property limit how many sessions can be created,
or opened, or neither?
|
Session |
sessionHead(EnumSet<EndpointState> local,
EnumSet<EndpointState> remote)
Returns the head of the list of sessions in the specified states.
|
void |
setContainer(String container) |
void |
setContext(Object context)
Sets an arbitrary an application owned object on the end-point.
|
void |
setDesiredCapabilities(Symbol[] capabilities) |
void |
setHostname(String hostname) |
void |
setOfferedCapabilities(Symbol[] capabilities) |
void |
setProperties(Map<Symbol,Object> properties) |
close, free, getCondition, getLocalState, getRemoteCondition, getRemoteState, open, setCondition
Session session()
Session sessionHead(EnumSet<EndpointState> local, EnumSet<EndpointState> remote)
Session.next(EnumSet, EnumSet)
Link linkHead(EnumSet<EndpointState> local, EnumSet<EndpointState> remote)
Link.next(EnumSet, EnumSet)
Delivery getWorkHead()
void setContainer(String container)
void setHostname(String hostname)
String getRemoteContainer()
String getRemoteHostname()
void setOfferedCapabilities(Symbol[] capabilities)
void setDesiredCapabilities(Symbol[] capabilities)
Symbol[] getRemoteOfferedCapabilities()
Symbol[] getRemoteDesiredCapabilities()
Object getContext()
getContext
in interface Endpoint
Endpoint.setContext(Object)
void setContext(Object context)
Endpoint
setContext
in interface Endpoint
Copyright © 2014 The Apache Software Foundation. All rights reserved.