Beispiel #1
0
 //
 // Marshal the endpoint
 //
 public override void streamWriteImpl(Ice.OutputStream s)
 {
     base.streamWriteImpl(s);
     if (s.GetEncoding().Equals(Ice.Util.Encoding_1_0))
     {
         s.WriteByte(Ice.Util.Protocol_1_0.major);
         s.WriteByte(Ice.Util.Protocol_1_0.minor);
         s.WriteByte(Ice.Util.Encoding_1_0.major);
         s.WriteByte(Ice.Util.Encoding_1_0.minor);
     }
     // Not transmitted.
     //s.writeBool(_connect);
     s.WriteBool(_compress);
 }