org.apache.jackrabbit.rmi.remote
Interface RemoteEventCollection.RemoteEvent

All Superinterfaces:
Remote
All Known Implementing Classes:
ServerEventCollection.ServerEvent
Enclosing interface:
RemoteEventCollection

public static interface RemoteEventCollection.RemoteEvent
extends Remote

The RemoteEvent class provides an encapsulation of single events in an event list sent to a registered listener.


Method Summary
 String getPath()
          Returns the absolute path of the underlying item.
 int getType()
          Returns the event type.
 String getUserID()
          Returns the userID of the session causing this event.
 

Method Detail

getType

int getType()
            throws RemoteException
Returns the event type.

Returns:
event type
Throws:
RemoteException - on RMI errors

getPath

String getPath()
               throws RemoteException
Returns the absolute path of the underlying item.

Returns:
item path
Throws:
RemoteException - on RMI errors

getUserID

String getUserID()
                 throws RemoteException
Returns the userID of the session causing this event.

Returns:
user identifier
Throws:
RemoteException - on RMI errors


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.