public interface RemoteEventCollection extends Remote
RemoteEventCollection
class serves as a container for
notifications sent to registered event listeners. Instances of this class are
created by the server-side event listener proxies and sent to the client-side
event poller. On the client-side the enclosed list of events is then sent to
the listener identified by the contained listener identifier.Modifier and Type | Interface and Description |
---|---|
static interface |
RemoteEventCollection.RemoteEvent
The
RemoteEvent class provides an encapsulation of single
events in an event list sent to a registered listener. |
Modifier and Type | Method and Description |
---|---|
RemoteEventCollection.RemoteEvent[] |
getEvents()
Returns the list of events to be sent to the client-side listener
identified by
getListenerId() . |
long |
getListenerId()
Returns unique identifier of the client-side listener to which the
enclosed events should be sent.
|
long getListenerId() throws RemoteException
RemoteException
- on RMI errorsRemoteEventCollection.RemoteEvent[] getEvents() throws RemoteException
getListenerId()
.RemoteException
- on RMI errorsCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.