at.lcm.x2c.communicator
Class ScopeRemote

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.ScopeRemote
All Implemented Interfaces:
IScopeRemote, java.io.Serializable, java.rmi.Remote

public class ScopeRemote
extends java.rmi.server.UnicastRemoteObject
implements IScopeRemote

RMI adapter for Scope.

Author:
Markus Aigner
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
ScopeRemote(IProtocolRemote protocol, X2cModelRMI_interface model)
           
ScopeRemote(at.lcm.x2c.scope.Scope scope)
           
 
Method Summary
 void addChannelConfig(at.lcm.x2c.scope.ChannelConfig config)
           
 java.io.File getMapFile()
           
 int getSampleTimePrescaler()
           
 double[][] getVectors()
           
 boolean isOfflineDataAvailable()
           
 boolean isSamplingFinished()
           
 void removeChannelConfig(short channelId)
           
 void setMapFile(java.io.File mapFile)
           
 void setSampleTimePrescaler(int prescaler)
           
 void setTriggerConfig(at.lcm.x2c.scope.TriggerConfig triggerConfig)
           
 void startSampling()
           
 void startSampling(boolean disableAutoUpdate)
           
 void stopSampling()
           
 void updateSamplingData()
           
 
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

ScopeRemote

public ScopeRemote(IProtocolRemote protocol,
                   X2cModelRMI_interface model)
            throws java.rmi.RemoteException,
                   java.lang.Exception
Throws:
java.rmi.RemoteException
java.lang.Exception

ScopeRemote

public ScopeRemote(at.lcm.x2c.scope.Scope scope)
            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException
Method Detail

startSampling

public void startSampling()
                   throws java.rmi.RemoteException,
                          java.lang.Exception
Specified by:
startSampling in interface IScopeRemote
Throws:
java.rmi.RemoteException
java.lang.Exception

isSamplingFinished

public boolean isSamplingFinished()
                           throws java.rmi.RemoteException,
                                  java.lang.Exception
Specified by:
isSamplingFinished in interface IScopeRemote
Throws:
java.rmi.RemoteException
java.lang.Exception

setSampleTimePrescaler

public void setSampleTimePrescaler(int prescaler)
                            throws java.rmi.RemoteException,
                                   java.lang.Exception
Specified by:
setSampleTimePrescaler in interface IScopeRemote
Throws:
java.rmi.RemoteException
java.lang.Exception

addChannelConfig

public void addChannelConfig(at.lcm.x2c.scope.ChannelConfig config)
                      throws java.rmi.RemoteException,
                             java.lang.Exception
Specified by:
addChannelConfig in interface IScopeRemote
Throws:
java.rmi.RemoteException
java.lang.Exception

setTriggerConfig

public void setTriggerConfig(at.lcm.x2c.scope.TriggerConfig triggerConfig)
                      throws java.rmi.RemoteException,
                             java.lang.Exception
Specified by:
setTriggerConfig in interface IScopeRemote
Throws:
java.rmi.RemoteException
java.lang.Exception

removeChannelConfig

public void removeChannelConfig(short channelId)
                         throws java.rmi.RemoteException,
                                java.lang.Exception
Specified by:
removeChannelConfig in interface IScopeRemote
Throws:
java.rmi.RemoteException
java.lang.Exception

getSampleTimePrescaler

public int getSampleTimePrescaler()
                           throws java.rmi.RemoteException
Specified by:
getSampleTimePrescaler in interface IScopeRemote
Throws:
java.rmi.RemoteException

startSampling

public void startSampling(boolean disableAutoUpdate)
                   throws java.rmi.RemoteException,
                          java.lang.Exception
Specified by:
startSampling in interface IScopeRemote
Throws:
java.rmi.RemoteException
java.lang.Exception

updateSamplingData

public void updateSamplingData()
                        throws java.rmi.RemoteException,
                               java.lang.Exception
Specified by:
updateSamplingData in interface IScopeRemote
Throws:
java.rmi.RemoteException
java.lang.Exception

isOfflineDataAvailable

public boolean isOfflineDataAvailable()
                               throws java.rmi.RemoteException
Specified by:
isOfflineDataAvailable in interface IScopeRemote
Throws:
java.rmi.RemoteException

getVectors

public double[][] getVectors()
                      throws java.rmi.RemoteException,
                             java.lang.Exception
Specified by:
getVectors in interface IScopeRemote
Throws:
java.rmi.RemoteException
java.lang.Exception

stopSampling

public void stopSampling()
                  throws java.rmi.RemoteException,
                         java.lang.Exception
Specified by:
stopSampling in interface IScopeRemote
Throws:
java.rmi.RemoteException
java.lang.Exception

setMapFile

public void setMapFile(java.io.File mapFile)
                throws java.rmi.RemoteException
Specified by:
setMapFile in interface IScopeRemote
Throws:
java.rmi.RemoteException

getMapFile

public java.io.File getMapFile()
                        throws java.rmi.RemoteException
Specified by:
getMapFile in interface IScopeRemote
Throws:
java.rmi.RemoteException


Copyright 2013 LCM. All rights reserved.