|
FreeHEP API Version current |
|||||||||
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.
Field Summary | |
protected boolean |
blocking
|
protected Logger |
remoteLogger
|
Constructor Summary | |
RemoteServer(IDevTree tree)
Creates a new instance of RemoteServer |
|
RemoteServer(IDevTree tree,
boolean duplex)
|
|
RemoteServer(IDevTree tree,
boolean duplex,
boolean appendAxisType)
|
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 |
isBlocking()
|
void |
setBlocking(boolean b)
|
void |
setUseValidation(boolean state)
If useValidation = true, client has to call "setValid" method after receiving update from the ManagedObject in order to reseive next update. |
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 |
Field Detail |
protected boolean blocking
protected Logger remoteLogger
Constructor Detail |
public RemoteServer(IDevTree tree)
public RemoteServer(IDevTree tree, boolean duplex)
public RemoteServer(IDevTree tree, boolean duplex, boolean appendAxisType)
Method Detail |
public void setBlocking(boolean b)
public boolean isBlocking()
public void setUseValidation(boolean state)
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 current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |