public class SubscriberSessionImpl extends SOMSessionImpl implements SubscriberSession
Session.ConnectionMode| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the session.
|
protected String |
getType()
Gets the session type.
|
boolean |
isClosed()
Asks if the service is closed.
|
Serializable[] |
receive(int limit,
long timeout)
Receives messages.
|
adjustTimeout, toStringequals, hashCode, opengetClientName, getConnectionMode, getIdentity, getSessionFactory, getThisLogger, getUser, login, logout, open, securityCheck, setLogID, setUser, unreferencedgetConnectionMode, login, logoutpublic void close()
close in interface SOMSessionclose in class ExportedSessionImplpublic boolean isClosed()
isClosed in class SessionImplpublic Serializable[] receive(int limit,
long timeout)
throws UnauthorizedAccessException,
SessionException
receive in interface SubscriberSessionlimit - The maximum number of messages.timeout - A time limit in millis to wait for the first message
(negative for infinite).SessionException - From session security check.UnauthorizedAccessExceptionprotected String getType()
getType in class SOMSessionImplCopyright © 2003-2019 Serge Brisson. All Rights Reserved.