at.lcm.x2c.communicator
Class ProtocolRemote
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
at.lcm.x2c.communicator.ProtocolRemote
- All Implemented Interfaces:
- IProtocolRemote, java.io.Serializable, java.rmi.Remote
public class ProtocolRemote
- extends java.rmi.server.UnicastRemoteObject
- implements IProtocolRemote
RMI adapter for Protocol.
- Author:
- Markus Aigner
- See Also:
- Serialized Form
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Method Summary |
at.lcm.x2c.communication.protocol.DspState |
getDspState()
|
at.lcm.x2c.communication.protocol.Protocol |
getProtocol()
|
int[] |
getRAMBlock16Bit(long address,
int n)
|
long[] |
getRAMBlock32Bit(long address,
int n)
|
java.math.BigInteger[] |
getRAMBlock64Bit(long address,
int n)
|
short[] |
getRAMBlock8Bit(long address,
int n)
|
int |
getVersion()
|
short[] |
loadInportBlockData(int id)
|
short[] |
loadMaskParameter(int id)
|
short[] |
loadOutportBlockData(int id)
|
short[] |
loadParameter(int id)
|
void |
putDspState(at.lcm.x2c.communication.protocol.DspState newDspState)
|
void |
putRAMBlock16Bit(long address,
int data)
|
void |
putRAMBlock16Bit(long address,
int[] data)
|
void |
putRAMBlock32Bit(long address,
long data)
|
void |
putRAMBlock32Bit(long address,
long[] data)
|
void |
putRAMBlock64Bit(long address,
java.math.BigInteger data)
|
void |
putRAMBlock64Bit(long address,
java.math.BigInteger[] data)
|
void |
putRAMBlock8Bit(long address,
short data)
|
void |
putRAMBlock8Bit(long address,
short[] data)
|
void |
reboot()
|
void |
saveMaskParameter(int id,
short[] data)
|
void |
saveParameter(int id,
short[] data)
|
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 |
loadParameter
public short[] loadParameter(int id)
throws java.lang.Exception
- Specified by:
loadParameter
in interface IProtocolRemote
- Throws:
java.lang.Exception
saveParameter
public void saveParameter(int id,
short[] data)
throws java.rmi.RemoteException,
java.lang.Exception
- Specified by:
saveParameter
in interface IProtocolRemote
- Throws:
java.rmi.RemoteException
java.lang.Exception
getRAMBlock8Bit
public short[] getRAMBlock8Bit(long address,
int n)
throws java.rmi.RemoteException,
java.lang.Exception
- Specified by:
getRAMBlock8Bit
in interface IProtocolRemote
- Throws:
java.rmi.RemoteException
java.lang.Exception
getRAMBlock16Bit
public int[] getRAMBlock16Bit(long address,
int n)
throws java.rmi.RemoteException,
java.lang.Exception
- Specified by:
getRAMBlock16Bit
in interface IProtocolRemote
- Throws:
java.rmi.RemoteException
java.lang.Exception
getRAMBlock32Bit
public long[] getRAMBlock32Bit(long address,
int n)
throws java.rmi.RemoteException,
java.lang.Exception
- Specified by:
getRAMBlock32Bit
in interface IProtocolRemote
- Throws:
java.rmi.RemoteException
java.lang.Exception
putRAMBlock8Bit
public void putRAMBlock8Bit(long address,
short data)
throws java.rmi.RemoteException,
java.lang.Exception
- Specified by:
putRAMBlock8Bit
in interface IProtocolRemote
- Throws:
java.rmi.RemoteException
java.lang.Exception
putRAMBlock8Bit
public void putRAMBlock8Bit(long address,
short[] data)
throws java.rmi.RemoteException,
java.lang.Exception
- Specified by:
putRAMBlock8Bit
in interface IProtocolRemote
- Throws:
java.rmi.RemoteException
java.lang.Exception
putRAMBlock16Bit
public void putRAMBlock16Bit(long address,
int data)
throws java.rmi.RemoteException,
java.lang.Exception
- Specified by:
putRAMBlock16Bit
in interface IProtocolRemote
- Throws:
java.rmi.RemoteException
java.lang.Exception
putRAMBlock16Bit
public void putRAMBlock16Bit(long address,
int[] data)
throws java.rmi.RemoteException,
java.lang.Exception
- Specified by:
putRAMBlock16Bit
in interface IProtocolRemote
- Throws:
java.rmi.RemoteException
java.lang.Exception
putRAMBlock32Bit
public void putRAMBlock32Bit(long address,
long data)
throws java.rmi.RemoteException,
java.lang.Exception
- Specified by:
putRAMBlock32Bit
in interface IProtocolRemote
- Throws:
java.rmi.RemoteException
java.lang.Exception
putRAMBlock32Bit
public void putRAMBlock32Bit(long address,
long[] data)
throws java.rmi.RemoteException,
java.lang.Exception
- Specified by:
putRAMBlock32Bit
in interface IProtocolRemote
- Throws:
java.rmi.RemoteException
java.lang.Exception
loadInportBlockData
public short[] loadInportBlockData(int id)
throws java.rmi.RemoteException,
java.lang.Exception
- Specified by:
loadInportBlockData
in interface IProtocolRemote
- Throws:
java.rmi.RemoteException
java.lang.Exception
loadOutportBlockData
public short[] loadOutportBlockData(int id)
throws java.rmi.RemoteException,
java.lang.Exception
- Specified by:
loadOutportBlockData
in interface IProtocolRemote
- Throws:
java.rmi.RemoteException
java.lang.Exception
loadMaskParameter
public short[] loadMaskParameter(int id)
throws java.rmi.RemoteException,
java.lang.Exception
- Specified by:
loadMaskParameter
in interface IProtocolRemote
- Throws:
java.rmi.RemoteException
java.lang.Exception
saveMaskParameter
public void saveMaskParameter(int id,
short[] data)
throws java.rmi.RemoteException,
java.lang.Exception
- Specified by:
saveMaskParameter
in interface IProtocolRemote
- Throws:
java.rmi.RemoteException
java.lang.Exception
putDspState
public void putDspState(at.lcm.x2c.communication.protocol.DspState newDspState)
throws java.rmi.RemoteException,
java.lang.Exception
- Specified by:
putDspState
in interface IProtocolRemote
- Throws:
java.rmi.RemoteException
java.lang.Exception
getDspState
public at.lcm.x2c.communication.protocol.DspState getDspState()
throws java.rmi.RemoteException,
java.lang.Exception
- Specified by:
getDspState
in interface IProtocolRemote
- Throws:
java.rmi.RemoteException
java.lang.Exception
getVersion
public int getVersion()
throws java.rmi.RemoteException
- Specified by:
getVersion
in interface IProtocolRemote
- Throws:
java.rmi.RemoteException
getRAMBlock64Bit
public java.math.BigInteger[] getRAMBlock64Bit(long address,
int n)
throws java.rmi.RemoteException,
java.lang.Exception
- Specified by:
getRAMBlock64Bit
in interface IProtocolRemote
- Throws:
java.rmi.RemoteException
java.lang.Exception
putRAMBlock64Bit
public void putRAMBlock64Bit(long address,
java.math.BigInteger data)
throws java.rmi.RemoteException,
java.lang.Exception
- Specified by:
putRAMBlock64Bit
in interface IProtocolRemote
- Throws:
java.rmi.RemoteException
java.lang.Exception
putRAMBlock64Bit
public void putRAMBlock64Bit(long address,
java.math.BigInteger[] data)
throws java.rmi.RemoteException,
java.lang.Exception
- Specified by:
putRAMBlock64Bit
in interface IProtocolRemote
- Throws:
java.rmi.RemoteException
java.lang.Exception
reboot
public void reboot()
throws java.rmi.RemoteException,
java.lang.Exception
- Specified by:
reboot
in interface IProtocolRemote
- Throws:
java.rmi.RemoteException
java.lang.Exception
getProtocol
public at.lcm.x2c.communication.protocol.Protocol getProtocol()
throws java.rmi.RemoteException
- Specified by:
getProtocol
in interface IProtocolRemote
- Throws:
java.rmi.RemoteException
Copyright 2013 LCM. All rights reserved.