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.
@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.RemoteEvent
ref
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, getSerialValues
clone, exportObject, exportObject, exportObject, unexportObject
getClientHost, getLog, setLog
public long getListenerId()
getListenerId
in interface RemoteEventCollection
public RemoteEventCollection.RemoteEvent[] getEvents()
RemoteEventCollection.getListenerId()
.getEvents
in interface RemoteEventCollection
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.