예제 #1
0
 public override void streamWrite(BasicStream s)
 {
     s.startWriteEncaps();
     _delegate.streamWriteImpl(s);
     s.writeString(_resource);
     s.endWriteEncaps();
 }
예제 #2
0
 //
 // Marshal the endpoint
 //
 public override void streamWrite(BasicStream s)
 {
     s.writeShort(_type);
     s.startWriteEncaps(_rawEncoding, Ice.FormatType.DefaultFormat);
     s.writeBlob(_rawBytes);
     s.endWriteEncaps();
 }
예제 #3
0
 //
 // Marshal the endpoint
 //
 public override void streamWrite(BasicStream s)
 {
     s.writeShort(Ice.TCPEndpointType.value);
     s.startWriteEncaps();
     s.writeString(_host);
     s.writeInt(_port);
     s.writeInt(_timeout);
     s.writeBool(_compress);
     s.endWriteEncaps();
 }
예제 #4
0
 //
 // Marshal the endpoint
 //
 public override void streamWrite(BasicStream s)
 {
     s.writeShort(Ice.UDPEndpointType.value);
     s.startWriteEncaps();
     s.writeString(_host);
     s.writeInt(_port);
     if (s.getWriteEncoding().Equals(Ice.Util.Encoding_1_0))
     {
         Ice.Util.Protocol_1_0.write__(s);
         Ice.Util.Encoding_1_0.write__(s);
     }
     // Not transmitted.
     //s.writeBool(_connect);
     s.writeBool(_compress);
     s.endWriteEncaps();
 }
예제 #5
0
파일: IPEndpointI.cs 프로젝트: sk163/ice-1
 public override void streamWrite(BasicStream s)
 {
     s.startWriteEncaps();
     streamWriteImpl(s);
     s.endWriteEncaps();
 }