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, toString
equals, hashCode, open
getClientName, getConnectionMode, getIdentity, getSessionFactory, getThisLogger, getUser, isClosed, login, logout, open, securityCheck, setLogID, setUser, unreferenced
getConnectionMode, login, logout
public void close()
close
in interface SOMSession
close
in class ExportedSessionImpl
public void commit() throws SessionException
commit
in interface SenderSession
SessionException
- From session security check.public void rollback() throws SessionException
rollback
in interface SenderSession
SessionException
- From session security check.public void send(Serializable[] messages, boolean commit) throws SessionException
send
in interface SenderSession
messages
- The messages.commit
- If true, commits.SessionException
- From session security check.protected String getType()
getType
in class SOMSessionImpl
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.