public interface SubscriberSession extends SOMSession
Session.ConnectionMode| Modifier and Type | Method and Description |
|---|---|
Serializable[] |
receive(int limit,
long timeout)
Receives messages.
|
closegetConnectionMode, login, logout@Nonnull
@CheckReturnValue
Serializable[] receive(@Nonnegative
int limit,
long timeout)
throws RemoteException,
SessionException
limit - The maximum number of messages.timeout - A time limit in millis to wait for the first message
(negative for infinite).RemoteException - From RMI RunTime.SessionException - From session security check.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.