public void ice_unmarshal (Ice.ProtocolReader pr) { magic = pr.ReadInt32(); protocolMajor = pr.ReadByte(); protocolMinor = pr.ReadByte(); encodingMajor = pr.ReadByte(); encodingMinor = pr.ReadByte(); messageType = (MessageType) Enum.ToObject(typeof(MessageType), pr.ReadByte()); compressionStatus = pr.ReadByte(); messageSize = pr.ReadInt32(); }
public void ice_unmarshal (Ice.ProtocolReader pr) { requestId = pr.ReadInt32(); replyType = (MessageReplyType) Enum.ToObject (typeof(MessageReplyType), pr.ReadByte()); }
public void ice_unmarshal (Ice.ProtocolReader pr) { requestId = pr.ReadInt32 (); id.name = pr.ReadString (); id.category = pr.ReadString (); int facetlen = pr.ReadSize(); facet = new string[facetlen]; for (int i = 0; i < facetlen; i++) facet[i] = pr.ReadString(); operation = pr.ReadString(); mode = pr.ReadByte(); int count = pr.ReadSize(); context = new Ice.Context(); for (int i = 0; i < count; i++) { string k = pr.ReadString(); string v = pr.ReadString(); context.Add (k, v); } }