net.homeip.mleclerc.omnilink
Class Communication
java.lang.Object
net.homeip.mleclerc.omnilink.Communication
- All Implemented Interfaces:
- MessageManager
- public class Communication
- extends java.lang.Object
- implements MessageManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Communication
public Communication(SystemTypeEnum model,
java.lang.String comPortStr,
int baudRate)
Communication
public Communication(SystemTypeEnum model,
java.lang.String comPortStr,
int baudRate,
java.lang.String initCmd,
java.lang.String localAccessCmd)
open
public void open()
throws CommunicationException
- Specified by:
open
in interface MessageManager
- Throws:
CommunicationException
isOpen
public boolean isOpen()
- Specified by:
isOpen
in interface MessageManager
execute
public ReplyMessage execute(RequestMessage request)
throws CommunicationException
- Specified by:
execute
in interface MessageManager
- Throws:
CommunicationException
close
public void close()
- Specified by:
close
in interface MessageManager