org.apache.jackrabbit.rmi.server
Class ServerEventCollection
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.apache.jackrabbit.rmi.server.ServerObject
org.apache.jackrabbit.rmi.server.ServerEventCollection
- All Implemented Interfaces:
- Serializable, Remote, RemoteEventCollection
public class ServerEventCollection
- extends ServerObject
- implements RemoteEventCollection
The ServerEventCollection
class implements the
RemoteEventCollection
event 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.
- See Also:
- Serialized Form
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 © 2004-2010 The Apache Software Foundation. All Rights Reserved.