|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Basic interface for AIDA Tree Client. TreeClient can be used in "Duplex Mode" and it has only one method that can be called by TreeServant to post messages about updates. If validation mecanism is used, setValid() method of AidaTreeServant must be called by AidaTreeClient to tell AidaTreeServant that it is ready to receive information about changes/updates of particular set of ImanagedObjects
Method Summary | |
boolean |
connect()
Make initial connection to the AidaTreeServer. |
boolean |
disconnect()
Disconnect from the AidaTreeServer and free all resources associated with it. |
Object |
find(String path)
Get the data for IManagedObject, at a given path in the ITree. |
boolean |
isConnected()
Return true if AidaTreeClient is already connected to the AidaTreeServer |
String[] |
listObjectNames(String path)
Get the list of names of the IManagedObjects under a given path, including directories (but not "." and ".."). |
String[] |
listObjectTypes(String path)
Get the list of types of the IManagedObjects under a given path. |
void |
stateChanged(UpdateEvent[] events)
This method can be called by AidaTreeServant to notify AideTreeClient about updates in the server-side ITree. |
Method Detail |
public String[] listObjectNames(String path) throws IllegalArgumentException
IllegalArgumentException
- if path does not exist.public String[] listObjectTypes(String path) throws IllegalArgumentException
IllegalArgumentException
- if path does not exist.public Object find(String path) throws IllegalArgumentException
IllegalArgumentException
- if path does not exist, or path does
not point to a directory.public void stateChanged(UpdateEvent[] events)
public boolean isConnected()
public boolean connect() throws AidaConnectionException
AidaConnectionException
public boolean disconnect()
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |