at.lcm.x2c.communicator
Class X2cModelRMI

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by at.lcm.x2c.communicator.X2cModelRMI
All Implemented Interfaces:
X2cModelRMI_interface, java.io.Serializable, java.rmi.Remote

public class X2cModelRMI
extends java.rmi.server.UnicastRemoteObject
implements X2cModelRMI_interface

RMI adapter class for Model class.

Author:
Martin Hochwallner
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
X2cModelRMI(at.lcm.x2c.core.structure.Model newModel)
           
 
Method Summary
 at.lcm.x2c.core.structure.Model getModel()
          Used through the RMI this will return a copy of the model object.
 
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

X2cModelRMI

public X2cModelRMI(at.lcm.x2c.core.structure.Model newModel)
            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException
Method Detail

getModel

public at.lcm.x2c.core.structure.Model getModel()
Used through the RMI this will return a copy of the model object.

Specified by:
getModel in interface X2cModelRMI_interface
Returns:
copy of the model object.


Copyright 2013 LCM. All rights reserved.