예제 #1
0
        public override void Deserialize(BinaryReader reader)
        {
            //
            base.Deserialize(reader);

            //
            reader.ReadBytes(3);
            OriginatorAccountID = reader.ReadInt32();
            MessageType         = reader.Read <MediusBinaryMessageType>();
            Message             = reader.ReadBytes(MediusConstants.BINARYMESSAGE_MAXLEN);
        }
예제 #2
0
        public override void Deserialize(BinaryReader reader)
        {
            //
            base.Deserialize(reader);

            //
            SessionKey = reader.ReadString(MediusConstants.SESSIONKEY_MAXLEN);
            reader.ReadBytes(2);
            MessageType     = reader.Read <MediusBinaryMessageType>();
            TargetAccountID = reader.ReadInt32();
            Message         = reader.ReadBytes(MediusConstants.BINARYMESSAGE_MAXLEN);
        }