Package org.apache.qpid.proton.engine
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 org.apache.qpid.proton.engine.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 org.apache.qpid.proton.engine.Connection
collect, getContainer, getContext, getHostname, getReactor, getRemoteContainer, getRemoteDesiredCapabilities, getRemoteHostname, getRemoteOfferedCapabilities, getRemoteProperties, getTransport, getWorkHead, linkHead, sessionHead, setContainer, setContext, setDesiredCapabilities, setHostname, setOfferedCapabilities, setPropertiesMethods inherited from interface org.apache.qpid.proton.engine.Endpoint
close, free, getCondition, getLocalState, getRemoteCondition, getRemoteState, open, setConditionMethods inherited from interface org.apache.qpid.proton.engine.Extendable
attachmentsMethods inherited from interface org.apache.qpid.proton.reactor.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()
-