|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
at.lcm.x2c.communicator.X2cCommunicatorRMI
public class X2cCommunicatorRMI
Field Summary |
---|
Fields inherited from class java.rmi.server.RemoteObject |
---|
ref |
Fields inherited from interface at.lcm.x2c.communicator.X2cCommunicatorRMI_interface |
---|
_SERVICENAME |
Constructor Summary | |
---|---|
X2cCommunicatorRMI(X2cCommunicatorManagerRMI x2cCommunicatorManagerRMI)
|
|
X2cCommunicatorRMI(X2cCommunicatorManagerRMI x2cCommunicatorManagerRMI,
java.lang.String connectionName)
|
Method Summary | |
---|---|
void |
addX2cRMIConnectionListener(X2cRMIConnectionListener listener)
|
void |
addX2cRMIModelListener(X2cRMIModelListener listener)
|
void |
disconnect()
|
at.lcm.x2c.gui.communicator.Communicator |
getCommunicator()
|
X2cModelRMI_interface |
getModel()
Returns Model. |
IProtocolRemote |
getProtocol()
Returns Protocol. |
IScopeRemote |
getScope()
Returns Scope. |
boolean |
isCommunicatorAlive()
Method to test whether the Communicator is alive. |
void |
notifyChangeBlockMaskParameter(X2cRMIModelBlockMaskParameterUpdateEvent event)
Receive a notification about a parameter change from a remote client and update the local model. |
void |
quit()
Deprecated. |
void |
removeX2cRMIConnectionListener(X2cRMIConnectionListener listener)
|
void |
removeX2cRMIModelListener(X2cRMIModelListener listener)
|
void |
setConnectionName(java.lang.String connectionName)
|
void |
setLibrariesPath(java.util.List<java.io.File> libPaths)
|
void |
setModel(at.lcm.x2c.core.structure.Model newModel)
Sets Model. |
void |
shutdown()
|
Methods inherited from class java.rmi.server.UnicastRemoteObject |
---|
clone, exportObject, exportObject, exportObject, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
---|
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
---|
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public X2cCommunicatorRMI(X2cCommunicatorManagerRMI x2cCommunicatorManagerRMI) throws java.rmi.RemoteException
java.rmi.RemoteException
public X2cCommunicatorRMI(X2cCommunicatorManagerRMI x2cCommunicatorManagerRMI, java.lang.String connectionName) throws java.rmi.RemoteException
java.rmi.RemoteException
Method Detail |
---|
public X2cModelRMI_interface getModel() throws java.lang.Exception
X2cCommunicatorRMI_interface
getModel
in interface X2cCommunicatorRMI_interface
java.rmi.RemoteException
java.lang.Exception
public IProtocolRemote getProtocol() throws java.rmi.RemoteException
X2cCommunicatorRMI_interface
getProtocol
in interface X2cCommunicatorRMI_interface
java.rmi.RemoteException
public IScopeRemote getScope() throws java.rmi.RemoteException, java.lang.Exception
X2cCommunicatorRMI_interface
getScope
in interface X2cCommunicatorRMI_interface
java.rmi.RemoteException
java.lang.Exception
public void setModel(at.lcm.x2c.core.structure.Model newModel) throws java.lang.Exception
X2cCommunicatorRMI_interface
setModel
in interface X2cCommunicatorRMI_interface
newModel
- Model
java.lang.Exception
@Deprecated public void quit() throws java.rmi.RemoteException
quit
in interface X2cCommunicatorRMI_interface
java.rmi.RemoteException
public boolean isCommunicatorAlive() throws java.rmi.RemoteException
isCommunicatorAlive
in interface X2cCommunicatorRMI_interface
java.rmi.RemoteException
public void disconnect() throws java.rmi.RemoteException
disconnect
in interface X2cCommunicatorRMI_interface
java.rmi.RemoteException
public void shutdown()
public at.lcm.x2c.gui.communicator.Communicator getCommunicator()
public void addX2cRMIConnectionListener(X2cRMIConnectionListener listener) throws java.rmi.RemoteException
addX2cRMIConnectionListener
in interface X2cCommunicatorRMI_interface
java.rmi.RemoteException
public void removeX2cRMIConnectionListener(X2cRMIConnectionListener listener) throws java.rmi.RemoteException
removeX2cRMIConnectionListener
in interface X2cCommunicatorRMI_interface
java.rmi.RemoteException
public void setConnectionName(java.lang.String connectionName)
public void addX2cRMIModelListener(X2cRMIModelListener listener) throws java.rmi.RemoteException
addX2cRMIModelListener
in interface X2cCommunicatorRMI_interface
java.rmi.RemoteException
public void removeX2cRMIModelListener(X2cRMIModelListener listener) throws java.rmi.RemoteException
removeX2cRMIModelListener
in interface X2cCommunicatorRMI_interface
java.rmi.RemoteException
public void notifyChangeBlockMaskParameter(X2cRMIModelBlockMaskParameterUpdateEvent event) throws java.rmi.RemoteException
notifyChangeBlockMaskParameter
in interface X2cCommunicatorRMI_interface
java.rmi.RemoteException
public void setLibrariesPath(java.util.List<java.io.File> libPaths) throws java.lang.Exception
setLibrariesPath
in interface X2cCommunicatorRMI_interface
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |