FreeHEP API
Version v1.2.2

hep.aida.ref.remote.testRemote
Class RemoteClientTest

java.lang.Object
  |
  +--hep.aida.ref.remote.RemoteClient
        |
        +--hep.aida.ref.remote.testRemote.RemoteClientTest
All Implemented Interfaces:
AidaTreeClient, Runnable

public class RemoteClientTest
extends RemoteClient

This is class extends the RemoteClient to create very simple AidaTreeServerTest and is used to test the RemoteClient - RemoteMutableStore interaction.

Author:
serbo

Field Summary
 
Fields inherited from class hep.aida.ref.remote.RemoteClient
clientID, duplex, isConnected, keepUpdating, queue, servant, server, store, updateInterval
 
Constructor Summary
RemoteClientTest(IDevMutableStore store)
          Creates a new instance of AidaTreeClientTest
RemoteClientTest(IDevMutableStore store, boolean duplex)
           
RemoteClientTest(IDevMutableStore store, boolean duplex, AidaTreeServer testServer)
           
RemoteClientTest(IDevMutableStore store, boolean duplex, AidaTreeServer testServer, long serverUpdateInterval)
           
 
Method Summary
 boolean disconnect()
           
protected  AidaTreeServer getServer()
          Retrieves reference to the AidaTreeServer.
 void initTestClient()
           
 
Methods inherited from class hep.aida.ref.remote.RemoteClient
connect, connectDuplex, connectNonDuplex, find, init, isConnected, listObjectNames, listObjectTypes, main, run, setDuplex, setUpdateTime, stateChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteClientTest

public RemoteClientTest(IDevMutableStore store)
Creates a new instance of AidaTreeClientTest


RemoteClientTest

public RemoteClientTest(IDevMutableStore store,
                        boolean duplex)

RemoteClientTest

public RemoteClientTest(IDevMutableStore store,
                        boolean duplex,
                        AidaTreeServer testServer)

RemoteClientTest

public RemoteClientTest(IDevMutableStore store,
                        boolean duplex,
                        AidaTreeServer testServer,
                        long serverUpdateInterval)
Method Detail

initTestClient

public void initTestClient()

getServer

protected AidaTreeServer getServer()
Description copied from class: RemoteClient
Retrieves reference to the AidaTreeServer. Must be overwritten by subclasses.

Specified by:
getServer in class RemoteClient

disconnect

public boolean disconnect()
Overrides:
disconnect in class RemoteClient

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.