public LifxCommand(CommandPacketType packetType, MessagePacketType returnMessagePacketType = MessagePacketType.None, Boolean needReply = false) { CommandPacketType = packetType; ExpectedReturnMessagePacketType = returnMessagePacketType; NeedReplyMessage = needReply; //Defaults WaitTimeBetweenRetry = 4000; RetryCount = 3; TimeStamp = DateTime.Now; IsBroadcastCommand = false; IsDiscoveryCommand = false; }
public LifxMessage(LifxDataPacket data, MessagePacketType packetType) { mData = data; mPacketType = packetType; }