FreeHEP API
Version current

hep.aida.ref.remote.basic.interfaces
Interface UpdateEvent

All Known Implementing Classes:
BasicUpdateEvent

public interface UpdateEvent

Is passed to the TreeClient to notify it about changes in the server-side ITree. Event ID describes the change. Can be expanded later.

Author:
serbo
Source Code:
UpdateEvent.java

Field Summary
static int NODE_ADDED
           
static int NODE_DELETED
           
static int NODE_UPDATED
           
 
Method Summary
 int id()
          Return ID for this Event
 String nodeType()
          Return type of the node.
 String path()
          Return ABSOLUTE path for the node.
 

Field Detail

NODE_UPDATED

public static final int NODE_UPDATED
See Also:
Constant Field Values

NODE_ADDED

public static final int NODE_ADDED
See Also:
Constant Field Values

NODE_DELETED

public static final int NODE_DELETED
See Also:
Constant Field Values
Method Detail

id

public int id()
Return ID for this Event


path

public String path()
Return ABSOLUTE path for the node.


nodeType

public String nodeType()
Return type of the node. In Java it is full class name. Node type for a folder is "dir".


FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.