コード例 #1
0
        public void ice_unmarshal(Ice.ProtocolReader pr)
        {
            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();
        }
コード例 #2
0
        public void ice_unmarshal(Ice.ProtocolReader pr)
        {
            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);
            }
        }
コード例 #3
0
 public void ice_unmarshal(Ice.ProtocolReader pr)
 {
     msg = pr.ReadString();
 }