Пример #1
0
 internal void adopt()
 {
     if(_adopt)
     {
         IceInternal.BasicStream stream = new IceInternal.BasicStream(this.stream.instance(),
                                                                      Util.currentProtocolEncoding);
         stream.swap(this.stream);
         this.stream = stream;
         _adopt = false;
     }
 }
Пример #2
0
 internal void adopt()
 {
     if(_adopt)
     {
         IceInternal.BasicStream stream = new IceInternal.BasicStream(this.stream.instance());
         stream.swap(this.stream);
         this.stream = stream;
         _adopt = false;
     }
 }