|
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.RemoteServer
This is implementation of the AidaTreeServer. This class does not have any remote transport layer (RMI, CORBA, etc.), so special adapter classes, like RmiRemoteServer, are used to provide such functionality. Default is to support duplex mode.
Constructor Summary | |
RemoteServer(IDevTree tree)
Creates a new instance of RemoteServer |
|
RemoteServer(IDevTree tree,
boolean duplex)
|
Method Summary | |
void |
close()
Disconnect servants for all client, server and release all allocated resources. |
AidaTreeServant |
connectDuplex(AidaTreeClient client)
connect/disconnect methods for TreeClient that does support "Duplex" Mode. |
AidaTreeServant |
connectNonDuplex(String clientID)
connect/disconnect methods for TreeClient that does not support "Duplex" Mode. |
boolean |
disconnectDuplex(AidaTreeClient client)
|
boolean |
disconnectNonDuplex(String clientID)
|
boolean |
supportDuplexMode()
Returns "true" if this TreeServer/TreeServant implementation support "Duplex Mode". |
String |
treeName()
Return the name of the ITree it is connected to. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RemoteServer(IDevTree tree)
public RemoteServer(IDevTree tree, boolean duplex)
Method Detail |
public void close()
public AidaTreeServant connectDuplex(AidaTreeClient client)
AidaTreeServer
connectDuplex
in interface AidaTreeServer
public AidaTreeServant connectNonDuplex(String clientID)
AidaTreeServer
connectNonDuplex
in interface AidaTreeServer
public boolean disconnectDuplex(AidaTreeClient client)
disconnectDuplex
in interface AidaTreeServer
public boolean disconnectNonDuplex(String clientID)
disconnectNonDuplex
in interface AidaTreeServer
public boolean supportDuplexMode()
AidaTreeServer
supportDuplexMode
in interface AidaTreeServer
public String treeName()
AidaTreeServer
treeName
in interface AidaTreeServer
|
FreeHEP API Version v1.2.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |