The 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.
@Deprecated public class ServerEventCollection extends ServerObject implements RemoteEventCollection
| Modifier and Type | Class and Description |
|---|---|
static class |
ServerEventCollection.ServerEvent
Deprecated.
Server side implementation of the
RemoteEvent interface. |
RemoteEventCollection.RemoteEventref| Modifier and Type | Method and Description |
|---|---|
RemoteEventCollection.RemoteEvent[] |
getEvents()
Deprecated.
Returns the list of events to be sent to the client-side listener
identified by
RemoteEventCollection.getListenerId(). |
long |
getListenerId()
Deprecated.
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–2024 The Apache Software Foundation. All rights reserved.