/// <summary> /// Serializes this message. /// </summary> /// <param name="serializer">Serializer used to serialize objects</param> public override void Serialize(INGRIDSerializer serializer) { base.Serialize(serializer); serializer.WriteByte((byte)CommunicatorType); serializer.WriteByte((byte)CommunicationWay); serializer.WriteStringUTF8(Name); serializer.WriteStringUTF8(Password); }
/// <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); }
/// <summary> /// Serializes this message. /// </summary> /// <param name="serializer">Serializer used to serialize objects</param> public override void Serialize(INGRIDSerializer serializer) { base.Serialize(serializer); serializer.WriteByte((byte)NewCommunicationWay); }
/// <summary> /// Serializes this message. /// </summary> /// <param name="serializer">Serializer used to serialize objects</param> public override void Serialize(INGRIDSerializer serializer) { base.Serialize(serializer); serializer.WriteByte((byte) NewCommunicationWay); }