Package org.apache.jackrabbit.rmi.remote
Interface RemoteEventCollection
-
- All Superinterfaces:
Remote
- All Known Implementing Classes:
ServerEventCollection
@Deprecated(forRemoval=true) public interface RemoteEventCollection extends Remote
Deprecated, for removal: This API element is subject to removal in a future version.RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.The
RemoteEventCollection
class serves as a container for notifications sent to registered event listeners. Instances of this class are created by the server-side event listener proxies and sent to the client-side event poller. On the client-side the enclosed list of events is then sent to the listener identified by the contained listener identifier.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
RemoteEventCollection.RemoteEvent
Deprecated, for removal: This API element is subject to removal in a future version.TheRemoteEvent
class provides an encapsulation of single events in an event list sent to a registered listener.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description RemoteEventCollection.RemoteEvent[]
getEvents()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the list of events to be sent to the client-side listener identified bygetListenerId()
.long
getListenerId()
Deprecated, for removal: This API element is subject to removal in a future version.Returns unique identifier of the client-side listener to which the enclosed events should be sent.
-
-
-
Method Detail
-
getListenerId
long getListenerId() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Returns unique identifier of the client-side listener to which the enclosed events should be sent.- Returns:
- unique listener identifier
- Throws:
RemoteException
- on RMI errors
-
getEvents
RemoteEventCollection.RemoteEvent[] getEvents() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Returns the list of events to be sent to the client-side listener identified bygetListenerId()
.- Returns:
- list of events
- Throws:
RemoteException
- on RMI errors
-
-