net.homeip.mleclerc.omnilink.messagebase
Class CommandMessage

java.lang.Object
  extended bynet.homeip.mleclerc.omnilink.messagebase.Message
      extended bynet.homeip.mleclerc.omnilink.messagebase.RequestMessage
          extended bynet.homeip.mleclerc.omnilink.messagebase.CommandMessage
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BaseZoneCommand, ClearMessageCommand, CompositeCommandMessage, LogMessageCommand, MacroButtonCommand, PhoneCommand, SecurityCommand, ShowMessageCommand, ThermostatFanModeCommand, ThermostatHoldModeCommand, ThermostatMaxTemperatureCommand, ThermostatMinTemperatureCommand, ThermostatSystemModeCommand, UnitCommand

public class CommandMessage
extends RequestMessage

See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.homeip.mleclerc.omnilink.messagebase.Message
START_CHAR
 
Constructor Summary
protected CommandMessage()
           
  CommandMessage(int command, int p1, int p2)
           
 
Method Summary
protected  ReplyMessage createReplyMessage(SystemTypeEnum model)
           
protected  void setData(int command, int p1, int p2)
           
 
Methods inherited from class net.homeip.mleclerc.omnilink.messagebase.RequestMessage
execute, validate
 
Methods inherited from class net.homeip.mleclerc.omnilink.messagebase.Message
execute, getData, getExpectedByteCount, getMessageBytes, getMessageLength, getMessageType, setData, setMessageFields
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandMessage

protected CommandMessage()

CommandMessage

public CommandMessage(int command,
                      int p1,
                      int p2)
Method Detail

setData

protected void setData(int command,
                       int p1,
                       int p2)

createReplyMessage

protected ReplyMessage createReplyMessage(SystemTypeEnum model)
                                   throws CommunicationException
Specified by:
createReplyMessage in class RequestMessage
Throws:
CommunicationException