public class SenderSessionImpl extends SOMSessionImpl implements SenderSession
Session.ConnectionMode| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the session.
|
void |
commit()
Commits uncommitted messages.
|
protected String |
getType()
Gets the session type.
|
void |
rollback()
Rolls back uncommitted messages.
|
void |
send(Serializable[] messages,
boolean commit)
Sends messages.
|
adjustTimeout, toStringequals, hashCode, opengetClientName, getConnectionMode, getIdentity, getSessionFactory, getThisLogger, getUser, isClosed, login, logout, open, securityCheck, setLogID, setUser, unreferencedgetConnectionMode, login, logoutpublic void close()
close in interface SOMSessionclose in class ExportedSessionImplpublic void commit()
throws SessionException
commit in interface SenderSessionSessionException - From session security check.public void rollback()
throws SessionException
rollback in interface SenderSessionSessionException - From session security check.public void send(Serializable[] messages,
boolean commit)
throws SessionException
send in interface SenderSessionmessages - The messages.commit - If true, commits.SessionException - From session security check.protected String getType()
getType in class SOMSessionImplCopyright © 2003-2019 Serge Brisson. All Rights Reserved.