예제 #1
0
파일: Object.cs 프로젝트: chuanqingli/ice
 public static Task <OutputStream> iceD_ice_ping(Object obj, IceInternal.Incoming inS, Current current)
 {
     inS.readEmptyParams();
     obj.ice_ping(current);
     inS.setResult(inS.writeEmptyParams());
     return(null);
 }
예제 #2
0
파일: Object.cs 프로젝트: zhaochf/ice
 public static Task <Ice.OutputStream> ice_ping___(Ice.Object __obj, IceInternal.Incoming inS__, Current __current)
 {
     inS__.readEmptyParams();
     __obj.ice_ping(__current);
     inS__.setResult(inS__.writeEmptyParams());
     return(null);
 }
예제 #3
0
파일: Object.cs 프로젝트: chuanqingli/ice
        public override Task <OutputStream> iceDispatch(IceInternal.Incoming inS, Current current)
        {
            byte[] inEncaps = inS.readParamEncaps();
            byte[] outEncaps;
            bool   ok = ice_invoke(inEncaps, out outEncaps, current);

            inS.setResult(inS.writeParamEncaps(outEncaps, ok));
            return(null);
        }
예제 #4
0
파일: Object.cs 프로젝트: chuanqingli/ice
        public static Task <OutputStream> iceD_ice_id(Object obj, IceInternal.Incoming inS, Current current)
        {
            inS.readEmptyParams();
            var ret  = obj.ice_id(current);
            var ostr = inS.startWriteParams();

            ostr.writeString(ret);
            inS.endWriteParams(ostr);
            inS.setResult(ostr);
            return(null);
        }
예제 #5
0
파일: Object.cs 프로젝트: zhaochf/ice
        public static Task <Ice.OutputStream> ice_id___(Ice.Object __obj, IceInternal.Incoming inS__, Current __current)
        {
            inS__.readEmptyParams();
            var __ret = __obj.ice_id(__current);
            var os__  = inS__.startWriteParams();

            os__.writeString(__ret);
            inS__.endWriteParams(os__);
            inS__.setResult(os__);
            return(null);
        }
예제 #6
0
            iceD_ZoneSync(IZonePush obj, IceInternal.Incoming inS, Ice.Current current)
            {
                Ice.ObjectImpl.iceCheckMode(Ice.OperationMode.Normal, current.mode);
                var istr = inS.startReadParams();

                byte[] iceP_data;
                iceP_data = BytesHelper.read(istr);
                inS.endReadParams();
                obj.ZoneSync(iceP_data, current);
                return(inS.setResult(inS.writeEmptyParams()));
            }
예제 #7
0
        iceD_callback(CallbackReceiver obj, IceInternal.Incoming inS, Ice.Current current)
        {
            Ice.ObjectImpl.iceCheckMode(Ice.OperationMode.Normal, current.mode);
            var    istr = inS.startReadParams();
            string iceP_messageCallback;

            iceP_messageCallback = istr.readString();
            inS.endReadParams();
            obj.callback(iceP_messageCallback, current);
            return(inS.setResult(inS.writeEmptyParams()));
        }
예제 #8
0
            iceD_PropertyChanged(IRoleMasterPush obj, IceInternal.Incoming inS, Ice.Current current)
            {
                Ice.ObjectImpl.iceCheckMode(Ice.OperationMode.Normal, current.mode);
                var            istr = inS.startReadParams();
                MasterProperty iceP_property;

                iceP_property = new MasterProperty();
                iceP_property.ice_readMembers(istr);
                inS.endReadParams();
                obj.PropertyChanged(iceP_property, current);
                return(inS.setResult(inS.writeEmptyParams()));
            }
예제 #9
0
파일: Object.cs 프로젝트: chuanqingli/ice
        public static Task <OutputStream> iceD_ice_isA(Object obj, IceInternal.Incoming inS, Current current)
        {
            InputStream istr = inS.startReadParams();
            var         id   = istr.readString();

            inS.endReadParams();
            var ret  = obj.ice_isA(id, current);
            var ostr = inS.startWriteParams();

            ostr.writeBool(ret);
            inS.endWriteParams(ostr);
            inS.setResult(ostr);
            return(null);
        }
예제 #10
0
파일: Object.cs 프로젝트: zhaochf/ice
        public static Task <Ice.OutputStream> ice_isA___(Ice.Object __obj, IceInternal.Incoming inS__, Current __current)
        {
            InputStream is__ = inS__.startReadParams();
            var         __id = is__.readString();

            inS__.endReadParams();
            var __ret = __obj.ice_isA(__id, __current);
            var os__  = inS__.startWriteParams();

            os__.writeBool(__ret);
            inS__.endWriteParams(os__);
            inS__.setResult(os__);
            return(null);
        }
예제 #11
0
        iceD_initiateCallback(CallbackSender obj, IceInternal.Incoming inS, Ice.Current current)
        {
            Ice.ObjectImpl.iceCheckMode(Ice.OperationMode.Normal, current.mode);
            var istr = inS.startReadParams();

            Demo.CallbackReceiverPrx iceP_proxy;
            string iceP_message;

            iceP_proxy   = Demo.CallbackReceiverPrxHelper.read(istr);
            iceP_message = istr.readString();
            inS.endReadParams();
            obj.initiateCallback(iceP_proxy, iceP_message, current);
            return(inS.setResult(inS.writeEmptyParams()));
        }