Uses of Interface
org.apache.qpid.protonj2.engine.Session
-
Packages that use Session Package Description org.apache.qpid.protonj2.engine org.apache.qpid.protonj2.engine.impl -
-
Uses of Session in org.apache.qpid.protonj2.engine
Methods in org.apache.qpid.protonj2.engine that return Session Modifier and Type Method Description Session
Link. getParent()
Session
Link. getSession()
Session
Session. receiverOpenHandler(EventHandler<Receiver> remoteReceiverOpenEventHandler)
Sets aEventHandler
for when an AMQP Attach frame is received from the remote peer for a receiving link.Session
Session. senderOpenHandler(EventHandler<Sender> remoteSenderOpenEventHandler)
Sets aEventHandler
for when an AMQP Attach frame is received from the remote peer for a sending link.Session
Connection. session()
Creates a new Session linked to this ConnectionSession
Session. setHandleMax(long handleMax)
Set the handle max value for this Session.Session
Session. setIncomingCapacity(int incomingCapacity)
Sets the maximum number of bytes this session can be sent from the remote.Session
Session. setOutgoingCapacity(int outgoingCapacity)
Sets the maximum number of bytes this session can be write before blocking additional sends until the written bytes are known to have been flushed to the write.Session
Session. transactionManagerOpenHandler(EventHandler<TransactionManager> remoteTxnManagerOpenEventHandler)
Sets aEventHandler
for when an AMQP Attach frame is received from the remote peer for a transaction coordination link.Methods in org.apache.qpid.protonj2.engine that return types with arguments of type Session Modifier and Type Method Description java.util.Set<Session>
Connection. sessions()
Returns an unmodifiableSet
of Sessions that are tracked by the Connection.Method parameters in org.apache.qpid.protonj2.engine with type arguments of type Session Modifier and Type Method Description Connection
Connection. sessionOpenHandler(EventHandler<Session> remoteSessionOpenEventHandler)
Sets aEventHandler
for when an AMQP Begin frame is received from the remote peer. -
Uses of Session in org.apache.qpid.protonj2.engine.impl
Classes in org.apache.qpid.protonj2.engine.impl that implement Session Modifier and Type Class Description class
ProtonSession
Proton API for Session type.Methods in org.apache.qpid.protonj2.engine.impl that return Session Modifier and Type Method Description Session
ProtonSession. setHandleMax(long handleMax)
Session
ProtonSession. setIncomingCapacity(int incomingCapacity)
Session
ProtonSession. setOutgoingCapacity(int outgoingCapacity)
Methods in org.apache.qpid.protonj2.engine.impl that return types with arguments of type Session Modifier and Type Method Description java.util.Set<Session>
ProtonConnection. sessions()
Method parameters in org.apache.qpid.protonj2.engine.impl with type arguments of type Session Modifier and Type Method Description ProtonConnection
ProtonConnection. sessionOpenHandler(EventHandler<Session> remoteSessionOpenEventHandler)
-