public SendPropertyDataPacket(string propertyName, string propertyValue) :
     base(FourByFourHelper.GetNewMessageId(), 0, FourByFourConstants.CMD_SEND_PROPERTY, null)
 {
     PropertyName  = propertyName;
     PropertyValue = propertyValue;
     RawData       = GetBytes();
 }
예제 #2
0
 public LaunchActionDataPacket(string launchAction, string parametersJson) :
     base(FourByFourHelper.GetNewMessageId(), 0, FourByFourConstants.CMD_LAUNCH_ACTION, null)
 {
     LaunchAction   = launchAction;
     ParametersJson = parametersJson;
     RawData        = GetBytes();
 }
 public GetPropertyDataPacket(string propertyName) :
     base(FourByFourHelper.GetNewMessageId(), 0, FourByFourConstants.CMD_GET_PROPERTY, null)
 {
     PropertyName = propertyName;
     RawData      = GetBytes();
 }
예제 #4
0
 public PingDataPacket() :
     base(FourByFourHelper.GetNewMessageId(), 0, FourByFourConstants.CMD_PING, null)
 {
 }