|
FreeHEP API Version v1.2.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--hep.aida.ref.remote.testRemote.AidaTreeServantTest
This is a very simple implementation of AidaTreeServant that just delegates most of the methods to the TestUtils class.
Field Summary | |
static long |
serverUpdateInterval
|
Constructor Summary | |
AidaTreeServantTest(AidaTreeClient client)
Creates a new instance of AidaTreeServantTest |
|
AidaTreeServantTest(AidaTreeClient client,
boolean duplex)
|
|
AidaTreeServantTest(AidaTreeClient client,
boolean duplex,
long serverUpdateInterval)
|
Method Summary | |
boolean |
disconnect()
|
Object |
find(String path)
Get the IManagedObject, at a given path in the ITree. |
void |
initServantTest()
|
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 |
setValid(String[] nodePaths)
This method can be called by AidaTreeClient to tell AidaTreeServant that it is ready to receive information about changes/updates of particular set of IManagedObjects. |
void |
startUpdateThread()
|
AidaUpdateEvent[] |
updates()
This method can be called by AidaTreeClient to get list of current updates. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static long serverUpdateInterval
Constructor Detail |
public AidaTreeServantTest(AidaTreeClient client)
public AidaTreeServantTest(AidaTreeClient client, boolean duplex)
public AidaTreeServantTest(AidaTreeClient client, boolean duplex, long serverUpdateInterval)
Method Detail |
public void initServantTest()
public void startUpdateThread()
public boolean disconnect()
public Object find(String path)
AidaTreeServant
find
in interface AidaTreeServant
public String[] listObjectNames(String path)
AidaTreeServant
listObjectNames
in interface AidaTreeServant
public String[] listObjectTypes(String path)
AidaTreeServant
listObjectTypes
in interface AidaTreeServant
public void setValid(String[] nodePaths)
AidaTreeServant
setValid
in interface AidaTreeServant
public AidaUpdateEvent[] updates()
AidaTreeServant
updates
in interface AidaTreeServant
|
FreeHEP API Version v1.2.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |