Beispiel #1
0
        public override void read__(IceInternal.BasicStream istr)
        {
            InputStream stream = (InputStream)istr.closure();

            Debug.Assert(stream != null);
            read(stream);
        }
Beispiel #2
0
        public OutputStreamI(Communicator communicator, EncodingVersion v)
        {
            _communicator = communicator;

            IceInternal.Instance instance = IceInternal.Util.getInstance(communicator);
            _os = new IceInternal.BasicStream(instance, v);
            _os.closure(this);
        }
Beispiel #3
0
        public OutputStreamI(Communicator communicator)
        {
            _communicator = communicator;

            IceInternal.Instance instance = IceInternal.Util.getInstance(communicator);
            _os = new IceInternal.BasicStream(instance, instance.defaultsAndOverrides().defaultEncoding);
            _os.closure(this);
        }
Beispiel #4
0
        public override void write__(IceInternal.BasicStream os)
        {
            OutputStream stream = (OutputStream)os.closure();

            if (stream == null)
            {
                stream = new OutputStreamI(communicator_, os);
            }
            write(stream);
        }
Beispiel #5
0
        public override void write__(IceInternal.BasicStream os)
        {
            OutputStream stream = (OutputStream)os.closure();

            write(stream);
        }
Beispiel #6
0
        public override void read__(IceInternal.BasicStream istr)
        {
            InputStream stream = (InputStream)istr.closure();

            read(stream);
        }
Beispiel #7
0
 public OutputStreamI(Communicator communicator, IceInternal.BasicStream os)
 {
     _communicator = communicator;
     _os           = os;
     _os.closure(this);
 }