예제 #1
0
 public void ice_marshal(Ice.ProtocolWriter pw)
 {
     pw.Write(id.name);
     pw.Write(id.category);
     pw.WriteSize(facet.Length);
     foreach (string f in facet)
     {
         pw.Write(f);
     }
     pw.Write(operation);
 }
예제 #2
0
        public void ice_marshal(Ice.ProtocolWriter pw)
        {
            pw.Write(requestId);
            pw.Write(id.name);
            pw.Write(id.category);
            pw.WriteSize(facet.Length);
            foreach (string f in facet)
            {
                pw.Write(f);
            }
            pw.Write(operation);
            pw.Write((byte)mode);
            pw.WriteSize(context.Count);
            IDictionaryEnumerator iter = context.GetEnumerator();

            while (iter.MoveNext())
            {
                pw.Write((string)iter.Key);
                pw.Write((string)iter.Value);
            }
        }