Example #1
0
            public override bool ice_invoke(byte[] inParams, out byte[] outParams, Current current)
            {
                var communicator = current.Adapter.Communicator;
                var ostr         = new Ice.OutputStream(communicator);

                ostr.StartEncapsulation(current.Encoding, FormatType.DefaultFormat);
                var ae = new Test.AlsoEmpty();

                ostr.WriteValue(ae);
                ostr.WritePendingValues();
                ostr.EndEncapsulation();
                outParams = ostr.Finished();
                return(true);
            }
Example #2
0
 //
 // Marshal the endpoint
 //
 public override void streamWrite(Ice.OutputStream s)
 {
     s.StartEncapsulation(_rawEncoding, Ice.FormatType.DefaultFormat);
     s.WriteBlob(_rawBytes);
     s.EndEncapsulation();
 }
Example #3
0
        public abstract override int GetHashCode(); // Avoids a compiler warning.

        //
        // Marshal the endpoint.
        //
        public virtual void streamWrite(Ice.OutputStream s)
        {
            s.StartEncapsulation();
            streamWriteImpl(s);
            s.EndEncapsulation();
        }