Interface ProtonJConnection
- All Superinterfaces:
Connection, Endpoint, Extendable, ProtonJEndpoint, ReactorChild
- All Known Implementing Classes:
ConnectionImpl
Extends
Connection with functionality that is specific to proton-j-
Nested Class Summary
Nested classes/interfaces inherited from interface Connection
Connection.Factory -
Method Summary
Modifier and TypeMethodDescriptionintsession()Returns a newly created session TODO does the Connection's channel-max property limit how many sessions can be created, or opened, or neither?voidsetLocalContainerId(String localContainerId) Methods inherited from interface Connection
collect, getContainer, getContext, getHostname, getReactor, getRemoteContainer, getRemoteDesiredCapabilities, getRemoteHostname, getRemoteOfferedCapabilities, getRemoteProperties, getTransport, getWorkHead, linkHead, sessionHead, setContainer, setContext, setDesiredCapabilities, setHostname, setOfferedCapabilities, setPropertiesMethods inherited from interface Endpoint
close, free, getCondition, getLocalState, getRemoteCondition, getRemoteState, open, setConditionMethods inherited from interface Extendable
attachmentsMethods inherited from interface ReactorChild
free
-
Method Details
-
setLocalContainerId
-
session
ProtonJSession session()Description copied from interface:ConnectionReturns a newly created session TODO does the Connection's channel-max property limit how many sessions can be created, or opened, or neither?- Specified by:
sessionin interfaceConnection
-
getMaxChannels
int getMaxChannels()
-