/// <summary>
 ///     A wrapper for the Post method which will only post a message if the callbackID isn't empty.
 /// </summary>
 /// <param name="callbackID">The callback ID.</param>
 /// <param name="messageType">Type of the message.</param>
 public void Post(Guid callbackID, ExecutionStatusCallbackMessageType messageType)
 {
     if (callbackID != Guid.Empty)
     {
         Post(new ExecutionStatusCallbackMessage(callbackID, messageType));
     }
 }
 /// <summary>
 ///     A wrapper for the Post method which will only post a message if the callbackID isn't empty.
 /// </summary>
 /// <param name="callbackID">The callback ID.</param>
 /// <param name="messageType">Type of the message.</param>
 public void Post(Guid callbackID, ExecutionStatusCallbackMessageType messageType)
 {
     if (callbackID != Guid.Empty)
     {
         Post(new ExecutionStatusCallbackMessage(callbackID, messageType));
     }
 }
 public void Read(IByteReaderBase reader)
 {
     CallbackID = reader.ReadGuid();
     MessageType = (ExecutionStatusCallbackMessageType) reader.ReadInt32();
 }
 public ExecutionStatusCallbackMessage(Guid callbackID, ExecutionStatusCallbackMessageType messageType)
 {
     CallbackID = callbackID;
     MessageType = messageType;
 }
 public void Read(IByteReaderBase reader)
 {
     CallbackID  = reader.ReadGuid();
     MessageType = (ExecutionStatusCallbackMessageType)reader.ReadInt32();
 }
 public ExecutionStatusCallbackMessage(Guid callbackID, ExecutionStatusCallbackMessageType messageType)
 {
     CallbackID  = callbackID;
     MessageType = messageType;
 }