hep.aida.ref.remote.testRemote
Class AidaTreeClientTest
java.lang.Object
|
+--hep.aida.ref.remote.testRemote.AidaTreeClientTest
- All Implemented Interfaces:
- AidaTreeClient
- public class AidaTreeClientTest
- extends Object
- implements AidaTreeClient
This is a very simple AidaTreeClient that just delegates
most of the methods to the TestUtils class.
- Author:
- serbo
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serverUpdateInterval
public static long serverUpdateInterval
AidaTreeClientTest
public AidaTreeClientTest(IDevMutableStore store)
- Creates a new instance of AidaTreeClientTest
AidaTreeClientTest
public AidaTreeClientTest(IDevMutableStore store,
boolean duplex)
AidaTreeClientTest
public AidaTreeClientTest(IDevMutableStore store,
boolean duplex,
long serverUpdateInterval)
initTestClient
public void initTestClient()
startUpdateThread
public void startUpdateThread()
connect
public boolean connect()
throws RemoteConnectionException
RemoteConnectionException
disconnect
public boolean disconnect()
find
public Object find(String path)
throws IllegalArgumentException
IllegalArgumentException
isConnected
public boolean isConnected()
listObjectNames
public String[] listObjectNames(String path)
throws IllegalArgumentException
IllegalArgumentException
listObjectTypes
public String[] listObjectTypes(String path)
throws IllegalArgumentException
IllegalArgumentException
stateChanged
public void stateChanged(AidaUpdateEvent[] events)
- Description copied from interface:
AidaTreeClient
- This method can be called by AidaTreeServant to notify
AideTreeClient about updates in the server-side ITree.
If "Duplex Mode" is not used, AideTreeClient has to call
updates() method of AideTreeServant to get a list of current
updates.
- Specified by:
stateChanged
in interface AidaTreeClient
Copyright © 2000-2003 FreeHEP, All Rights Reserved.