Uses of Interface
org.apache.qpid.protonj2.engine.Session
-
Uses of Session in org.apache.qpid.protonj2.engine
Modifier and TypeMethodDescriptionSession.deliveryReadHandler
(EventHandler<IncomingDelivery> delivery) Allows monitoring of incoming deliveries to receivers attached to thisSession
.Link.getParent()
Link.getSession()
Session.receiverOpenHandler
(EventHandler<Receiver> remoteReceiverOpenEventHandler) Sets aEventHandler
for when an AMQP Attach frame is received from the remote peer for a receiving link.Session.senderOpenHandler
(EventHandler<Sender> remoteSenderOpenEventHandler) Sets aEventHandler
for when an AMQP Attach frame is received from the remote peer for a sending link.Connection.session()
Creates a new Session linked to this ConnectionSession.setHandleMax
(long handleMax) Set the handle max value for this Session.Session.setIncomingCapacity
(int incomingCapacity) Sets the maximum number of bytes this session can be sent from the remote.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.transactionManagerOpenHandler
(EventHandler<TransactionManager> remoteTxnManagerOpenEventHandler) Sets aEventHandler
for when an AMQP Attach frame is received from the remote peer for a transaction coordination link.Modifier and TypeMethodDescriptionConnection.sessions()
Returns an unmodifiableSet
of Sessions that are tracked by the Connection.Modifier and TypeMethodDescriptionConnection.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
Modifier and TypeMethodDescriptionProtonSession.setHandleMax
(long handleMax) ProtonSession.setIncomingCapacity
(int incomingCapacity) ProtonSession.setOutgoingCapacity
(int outgoingCapacity) Modifier and TypeMethodDescriptionProtonConnection.sessionOpenHandler
(EventHandler<Session> remoteSessionOpenEventHandler)