net.homeip.mleclerc.omnilink
Class CommunicationService
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
net.homeip.mleclerc.omnilink.CommunicationService
- All Implemented Interfaces:
- MessageManager, MessageManagerRemote, java.rmi.Remote, java.io.Serializable
- public class CommunicationService
- extends java.rmi.server.UnicastRemoteObject
- implements MessageManagerRemote
- 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 |
CommunicationService
public CommunicationService(SystemTypeEnum model,
java.lang.String comPortStr,
int baudRate)
throws CommunicationException,
java.rmi.RemoteException
CommunicationService
public CommunicationService(SystemTypeEnum model,
java.lang.String comPortStr,
int baudRate,
java.lang.String initCmd,
java.lang.String localAccessCmd)
throws CommunicationException,
java.rmi.RemoteException
open
public void open()
throws CommunicationException,
java.rmi.RemoteException
- Specified by:
open
in interface MessageManagerRemote
- Throws:
CommunicationException
java.rmi.RemoteException
execute
public ReplyMessage execute(RequestMessage query)
throws CommunicationException,
java.rmi.RemoteException
- Specified by:
execute
in interface MessageManagerRemote
- Throws:
CommunicationException
java.rmi.RemoteException
close
public void close()
throws java.rmi.RemoteException
- Specified by:
close
in interface MessageManagerRemote
- Throws:
java.rmi.RemoteException
isOpen
public boolean isOpen()
throws java.rmi.RemoteException
- Specified by:
isOpen
in interface MessageManagerRemote
- Throws:
java.rmi.RemoteException