|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventSession
a common interface for all EventSession types
a session is a statefull service used to register event listeners
to the space
the state of the session contains the bounded transaction (if any)
and a set of configuration parameters such as the communication protocol
used to convey the events and whether of not to use FIFO order
the session can be used to register multiple listeners that share the same configuration.
the session provides methods for retreiving the bounded
entities of the session - the transaction and the configuration object.
the interface also provides a lifecycle managment support methods.
EventSessionConfig
Method Summary | |
---|---|
void |
close()
closes the session and deregister all listeners. |
EventSessionConfig |
getSessionConfig()
retreives the bounded configuration object. |
Transaction |
getTransaction()
retreive to bounded transaction |
Method Detail |
---|
Transaction getTransaction()
EventSessionConfig getSessionConfig()
void close() throws RemoteException, UnknownLeaseException
RemoteException
- if the remove space failed to remove the notification registration.
UnknownLeaseException
- if the listeners lease has expired.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |