public class ServerEventCollection extends ServerObject implements RemoteEventCollection
ServerEventCollection class implements 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.
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
ServerEventCollection.ServerEvent
Server side implementation of the  
RemoteEvent interface. | 
RemoteEventCollection.RemoteEventref| Modifier and Type | Method and Description | 
|---|---|
RemoteEventCollection.RemoteEvent[] | 
getEvents()
Returns the list of events to be sent to the client-side listener
 identified by  
RemoteEventCollection.getListenerId(). | 
long | 
getListenerId()
Returns unique identifier of the client-side listener to which the
 enclosed events should be sent. 
 | 
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValuesclone, exportObject, exportObject, exportObject, unexportObjectgetClientHost, getLog, setLogpublic long getListenerId()
getListenerId in interface RemoteEventCollectionpublic RemoteEventCollection.RemoteEvent[] getEvents()
RemoteEventCollection.getListenerId().getEvents in interface RemoteEventCollectionCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.