org.exoplatform.services.jcr.rmi.impl.server
Class ServerEventCollection
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.exoplatform.services.jcr.rmi.impl.server.ServerObject
org.exoplatform.services.jcr.rmi.impl.server.ServerEventCollection
- All Implemented Interfaces:
- java.io.Serializable, java.rmi.Remote, RemoteEventCollection
public class ServerEventCollection
- extends ServerObject
- implements RemoteEventCollection
The ServerEventCollection class implemnts the
RemoteEventCollectionevent to actually sent
the server-side event to the client.
This class does not directly relate to any JCR class because beside the list of events the unique
identifier of the client-side listener has to be provided such that the receiving listener may be
identified on the client-side.
This class does not require the
rmi.impl.server.RemoteAdapterFactoryand consequently calls
the base class constructor with a null factory.
- See Also:
- Serialized Form
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
getListenerId
public long getListenerId()
- Returns unique identifier of the client-side listener to which the enclosed events should be
sent.
- Specified by:
getListenerId in interface RemoteEventCollection
- Returns:
- unique listener identifier
getEvents
public RemoteEventCollection.RemoteEvent[] getEvents()
- Returns the list of events to be sent to the client-side listener identified by
RemoteEventCollection.getListenerId().
- Specified by:
getEvents in interface RemoteEventCollection
- Returns:
- list of events
Copyright © 2011 eXo Platform SAS. All Rights Reserved.