at.lcm.x2c.communicator
Class X2cCommunicatorRMI
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
at.lcm.x2c.communicator.X2cCommunicatorRMI
- All Implemented Interfaces:
- X2cCommunicatorRMI_interface, java.io.Serializable, java.rmi.Remote
public class X2cCommunicatorRMI
- extends java.rmi.server.UnicastRemoteObject
- implements X2cCommunicatorRMI_interface
- See Also:
- Serialized Form
Fields inherited from class java.rmi.server.RemoteObject |
ref |
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 |
X2cCommunicatorRMI
public X2cCommunicatorRMI(X2cCommunicatorManagerRMI x2cCommunicatorManagerRMI)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
X2cCommunicatorRMI
public X2cCommunicatorRMI(X2cCommunicatorManagerRMI x2cCommunicatorManagerRMI,
java.lang.String connectionName)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getModel
public X2cModelRMI_interface getModel()
throws java.lang.Exception
- Specified by:
getModel
in interface X2cCommunicatorRMI_interface
- Throws:
java.lang.Exception
setModel
public void setModel(at.lcm.x2c.core.structure.Model newModel)
throws java.lang.Exception
- Specified by:
setModel
in interface X2cCommunicatorRMI_interface
- Throws:
java.lang.Exception
quit
@Deprecated
public void quit()
throws java.rmi.RemoteException
- Deprecated.
- Specified by:
quit
in interface X2cCommunicatorRMI_interface
- Throws:
java.rmi.RemoteException
isCommunicatorAlive
public boolean isCommunicatorAlive()
throws java.rmi.RemoteException
- Method to test whether the Communicator is alive.
- Specified by:
isCommunicatorAlive
in interface X2cCommunicatorRMI_interface
- Returns:
- True
- Throws:
java.rmi.RemoteException
disconnect
public void disconnect()
throws java.rmi.RemoteException
- Specified by:
disconnect
in interface X2cCommunicatorRMI_interface
- Throws:
java.rmi.RemoteException
shutdown
public void shutdown()
getCommunicator
public at.lcm.x2c.gui.communicator.Communicator getCommunicator()
addX2cRMIConnectionListener
public void addX2cRMIConnectionListener(X2cRMIConnectionListener listener)
throws java.rmi.RemoteException
- Specified by:
addX2cRMIConnectionListener
in interface X2cCommunicatorRMI_interface
- Throws:
java.rmi.RemoteException
removeX2cRMIConnectionListener
public void removeX2cRMIConnectionListener(X2cRMIConnectionListener listener)
throws java.rmi.RemoteException
- Specified by:
removeX2cRMIConnectionListener
in interface X2cCommunicatorRMI_interface
- Throws:
java.rmi.RemoteException
setConnectionName
public void setConnectionName(java.lang.String connectionName)
addX2cRMIModelListener
public void addX2cRMIModelListener(X2cRMIModelListener listener)
throws java.rmi.RemoteException
- Specified by:
addX2cRMIModelListener
in interface X2cCommunicatorRMI_interface
- Throws:
java.rmi.RemoteException
removeX2cRMIModelListener
public void removeX2cRMIModelListener(X2cRMIModelListener listener)
throws java.rmi.RemoteException
- Specified by:
removeX2cRMIModelListener
in interface X2cCommunicatorRMI_interface
- Throws:
java.rmi.RemoteException
notifyChangeBlockMaskParameter
public void notifyChangeBlockMaskParameter(X2cRMIModelBlockMaskParameterUpdateEvent event)
throws java.rmi.RemoteException
- Receive a notification about a parameter change from a remote client and
update the local model.
- Specified by:
notifyChangeBlockMaskParameter
in interface X2cCommunicatorRMI_interface
- Throws:
java.rmi.RemoteException
setLibrariesPath
public void setLibrariesPath(java.util.List<java.io.File> libPaths)
throws java.lang.Exception
- Specified by:
setLibrariesPath
in interface X2cCommunicatorRMI_interface
- Throws:
java.lang.Exception
Copyright 2013 LCM. All rights reserved.