Uses of Interface
org.apache.qpid.protonj2.client.Session
-
Packages that use Session Package Description org.apache.qpid.protonj2.client org.apache.qpid.protonj2.client.impl -
-
Uses of Session in org.apache.qpid.protonj2.client
Methods in org.apache.qpid.protonj2.client that return Session Modifier and Type Method Description SessionSession. beginTransaction()Opens a new transaction scoped to thisSessionif one is not already active.SessionSession. commitTransaction()Commit the currently active transaction in this Session.SessionConnection. defaultSession()SessionConnection. openSession()Creates a newSessioninstance for use by the client application.SessionConnection. openSession(SessionOptions options)Creates a newSessioninstance for use by the client application.SessionSession. rollbackTransaction()Roll back the currently active transaction in this Session.SessionReceiver. session()SessionSender. session()Methods in org.apache.qpid.protonj2.client that return types with arguments of type Session Modifier and Type Method Description java.util.concurrent.Future<Session>Session. closeAsync()Requests a close of theSessionat the remote and returns aFuturethat will be completed once the session has been remotely closed or an error occurs.java.util.concurrent.Future<Session>Session. closeAsync(ErrorCondition error)Requests a close of theSessionat the remote and returns aFuturethat will be completed once the session has been remotely closed or an error occurs.java.util.concurrent.Future<Session>Session. openFuture() -
Uses of Session in org.apache.qpid.protonj2.client.impl
Classes in org.apache.qpid.protonj2.client.impl that implement Session Modifier and Type Class Description classClientSessionClient implementation of the Session API.classClientStreamSessionA specializedClientSessionthat is the parent of aClientStreamSenderorClientStreamReceiverand cannot create any further resources as the lifetime of the session is tied to the childStreamSenderorStreamReceiver.Methods in org.apache.qpid.protonj2.client.impl that return Session Modifier and Type Method Description SessionClientSession. beginTransaction()SessionClientSession. commitTransaction()SessionClientConnection. defaultSession()SessionClientConnection. openSession()SessionClientConnection. openSession(SessionOptions sessionOptions)SessionClientSession. rollbackTransaction()Methods in org.apache.qpid.protonj2.client.impl that return types with arguments of type Session Modifier and Type Method Description java.util.concurrent.Future<Session>ClientSession. closeAsync()java.util.concurrent.Future<Session>ClientSession. closeAsync(ErrorCondition error)java.util.concurrent.Future<Session>ClientSession. openFuture()Method parameters in org.apache.qpid.protonj2.client.impl with type arguments of type Session Modifier and Type Method Description ClientTransactionContextClientTransactionContext. begin(ClientFuture<Session> beginFuture)Begin a new transaction if one is not already in play.ClientTransactionContextClientTransactionContext. commit(ClientFuture<Session> commitFuture, boolean startNew)Commits the current transaction if one is active and is not failed into a roll-back only state.ClientTransactionContextClientTransactionContext. rollback(ClientFuture<Session> rollbackFuture, boolean startNew)Rolls back the current transaction if one is active.
-