at.lcm.x2c.communicator
Class ScopeRemote
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
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
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 |
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
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.