public class ServerEventCollection extends ServerObject implements RemoteEventCollection
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.
Modifier and Type | Class and Description |
---|---|
static class |
ServerEventCollection.ServerEvent
Server side implementation of the
RemoteEvent interface. |
RemoteEventCollection.RemoteEvent
ref
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, 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–2022 The Apache Software Foundation. All rights reserved.