ProtonJConnection

Extends {@link Connection} with functionality that is specific to proton-j

Members

Functions

getMaxChannels
int getMaxChannels()
Undocumented in source.
session
ProtonJSession session()
Undocumented in source.
setLocalContainerId
void setLocalContainerId(string localContainerId)
Undocumented in source.

Inherited Members

From Connection

Factory
class Factory
Undocumented in source.
session
Session session()

Returns a newly created session

sessionHead
Session sessionHead(Set!EndpointState local, Set!EndpointState remote)

Returns the head of the list of sessions in the specified states.

linkHead
Link linkHead(Set!EndpointState local, Set!EndpointState remote)

Returns the head of the list of links in the specified states.

getWorkHead
Delivery getWorkHead()

Returns the head of the delivery work list. The delivery work list consists of unsettled deliveries whose state has been changed by the other container and not yet locally processed.

setContainer
void setContainer(string container)
Undocumented in source.
getContainer
string getContainer()
Undocumented in source.
setHostname
void setHostname(string hostname)

Set the name of the host (either fully qualified or relative) to which this connection is connecting to. This information may be used by the remote peer to determine the correct back-end service to connect the client to. This value will be sent in the Open performative.

getHostname
string getHostname()
Undocumented in source.
getRemoteContainer
string getRemoteContainer()
Undocumented in source.
getRemoteHostname
string getRemoteHostname()
Undocumented in source.
setOfferedCapabilities
void setOfferedCapabilities(Symbol[] capabilities)
Undocumented in source.
setDesiredCapabilities
void setDesiredCapabilities(Symbol[] capabilities)
Undocumented in source.
getRemoteOfferedCapabilities
Symbol[] getRemoteOfferedCapabilities()
Undocumented in source.
getRemoteDesiredCapabilities
Symbol[] getRemoteDesiredCapabilities()
Undocumented in source.
getRemoteProperties
Map!(Symbol, Object) getRemoteProperties()
Undocumented in source.
setProperties
void setProperties(Map!(Symbol, Object) properties)
Undocumented in source.
getContext
Object getContext()
Undocumented in source.
setContext
void setContext(Object context)
Undocumented in source.
collect
void collect(Collector collector)
Undocumented in source.
getTransport
Transport getTransport()
Undocumented in source.
getReactor
Reactor getReactor()
Undocumented in source.

Meta