Esempio n. 1
0
 /// <summary>
 /// Serializes this message.
 /// </summary>
 /// <param name="serializer">Serializer used to serialize objects</param>
 public override void Serialize(INGRIDSerializer serializer)
 {
     base.Serialize(serializer);
     serializer.WriteStringUTF8(SourceServerName);
     serializer.WriteStringUTF8(SourceApplicationName);
     serializer.WriteInt64(SourceCommunicatorId);
     serializer.WriteStringUTF8(DestinationServerName);
     serializer.WriteStringUTF8(DestinationApplicationName);
     serializer.WriteInt64(DestinationCommunicatorId);
     serializer.WriteObjectArray(PassedServers);
     serializer.WriteByteArray(MessageData);
     serializer.WriteByte((byte)TransmitRule);
 }
 /// <summary>
 /// Serializes this message.
 /// </summary>
 /// <param name="serializer">Serializer used to serialize objects</param>
 public override void Serialize(INGRIDSerializer serializer)
 {
     base.Serialize(serializer);
     serializer.WriteStringUTF8(SourceServerName);
     serializer.WriteStringUTF8(SourceApplicationName);
     serializer.WriteInt64(SourceCommunicatorId);
     serializer.WriteStringUTF8(DestinationServerName);
     serializer.WriteStringUTF8(DestinationApplicationName);
     serializer.WriteInt64(DestinationCommunicatorId);
     serializer.WriteObjectArray(PassedServers);
     serializer.WriteByteArray(MessageData);
     serializer.WriteByte((byte) TransmitRule);
 }
 public override void Serialize(INGRIDSerializer serializer)
 {
     base.Serialize(serializer);
     serializer.WriteInt32(ControllerMessageTypeId);
     serializer.WriteByteArray(MessageData);
 }
Esempio n. 4
0
 public override void Serialize(INGRIDSerializer serializer)
 {
     base.Serialize(serializer);
     serializer.WriteInt32(ControllerMessageTypeId);
     serializer.WriteByteArray(MessageData);
 }