Exemplo n.º 1
0
 public static Ice.DispatchStatus initiateCallback___(CallbackSender obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
     IceInternal.BasicStream  is__ = inS__.startReadParams();
     Demo.CallbackReceiverPrx proxy;
     proxy = Demo.CallbackReceiverPrxHelper.read__(is__);
     inS__.endReadParams();
     obj__.initiateCallback(proxy, current__);
     inS__.writeEmptyParams__();
     return(Ice.DispatchStatus.DispatchOK);
 }
Exemplo n.º 2
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()));
            }
Exemplo n.º 3
0
            iceD_SetProperty(IRoleMaster 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();
                return(inS.setResultTask(obj.SetPropertyAsync(iceP_property, current)));
            }
Exemplo n.º 4
0
 public static Ice.DispatchStatus initConnectionListener___(FaceRecognition obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
     IceInternal.BasicStream is__ = inS__.startReadParams();
     FaceRecognitionModule.ConnectionListenerPrx listener;
     listener = FaceRecognitionModule.ConnectionListenerPrxHelper.read__(is__);
     inS__.endReadParams();
     obj__.initConnectionListener(listener, current__);
     inS__.writeEmptyParams__();
     return(Ice.DispatchStatus.DispatchOK);
 }
Exemplo n.º 5
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()));
        }
Exemplo n.º 6
0
        public static Ice.DispatchStatus TransHeartbeat___(CallbackClient obj__, IceInternal.Incoming inS__, Ice.Current current__)
        {
            Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
            IceInternal.BasicStream is__ = inS__.startReadParams();
            long lTime;

            lTime = is__.readLong();
            inS__.endReadParams();
            obj__.TransHeartbeat(lTime, current__);
            inS__.writeEmptyParams__();
            return(Ice.DispatchStatus.DispatchOK);
        }
Exemplo n.º 7
0
        public static Ice.DispatchStatus SetWriteLogFlag___(LogServer_RPC obj__, IceInternal.Incoming inS__, Ice.Current current__)
        {
            Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
            IceInternal.BasicStream is__ = inS__.startReadParams();
            bool bWrite;

            bWrite = is__.readBool();
            inS__.endReadParams();
            obj__.SetWriteLogFlag(bWrite, current__);
            inS__.writeEmptyParams__();
            return(Ice.DispatchStatus.DispatchOK);
        }
Exemplo n.º 8
0
        public static Ice.DispatchStatus onRecv___(ConnectionListener obj__, IceInternal.Incoming inS__, Ice.Current current__)
        {
            Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
            IceInternal.BasicStream is__ = inS__.startReadParams();
            string xmlContent;

            xmlContent = is__.readString();
            inS__.endReadParams();
            obj__.onRecv(xmlContent, current__);
            inS__.writeEmptyParams__();
            return(Ice.DispatchStatus.DispatchOK);
        }
Exemplo n.º 9
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()));
            }
Exemplo n.º 10
0
        public static Ice.DispatchStatus printString___(Printer obj__, IceInternal.Incoming inS__, Ice.Current current__)
        {
            Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
            IceInternal.BasicStream is__ = inS__.startReadParams();
            string s;

            s = is__.readString();
            inS__.endReadParams();
            obj__.printString(s, current__);
            inS__.writeEmptyParams__();
            return(Ice.DispatchStatus.DispatchOK);
        }
Exemplo n.º 11
0
        public static DispatchStatus ice_isA___(Ice.Object __obj, IceInternal.Incoming inS__, Current __current)
        {
            InputStream is__ = inS__.startReadParams();
            string      __id = is__.readString();

            inS__.endReadParams();
            bool         __ret = __obj.ice_isA(__id, __current);
            OutputStream os__  = inS__.startWriteParams__(FormatType.DefaultFormat);

            os__.writeBool(__ret);
            inS__.endWriteParams__(true);
            return(DispatchStatus.DispatchOK);
        }
Exemplo n.º 12
0
            iceD_JoinSceneReq(IPlayerCo obj, IceInternal.Incoming inS, Ice.Current current)
            {
                Ice.ObjectImpl.iceCheckMode(Ice.OperationMode.Normal, current.mode);
                var  istr = inS.startReadParams();
                byte iceP_sceneid;

                iceP_sceneid = istr.readByte();
                inS.endReadParams();
                return(inS.setResultTask <bool>(obj.JoinSceneReqAsync(iceP_sceneid, current),
                                                (ostr, ret) =>
                {
                    ostr.writeBool(ret);
                }));
            }
Exemplo n.º 13
0
        public static Ice.DispatchStatus NMRegistClient___(NMServer obj__, IceInternal.Incoming inS__, Ice.Current current__)
        {
            Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
            IceInternal.BasicStream is__ = inS__.startReadParams();
            string strClientId;

            IRPC.NMClientPrx Client;
            strClientId = is__.readString();
            Client      = IRPC.NMClientPrxHelper.read__(is__);
            inS__.endReadParams();
            obj__.NMRegistClient(strClientId, Client, current__);
            inS__.writeEmptyParams__();
            return(Ice.DispatchStatus.DispatchOK);
        }
Exemplo n.º 14
0
            iceD_PlayerEnter(IZone obj, IceInternal.Incoming inS, Ice.Current current)
            {
                Ice.ObjectImpl.iceCheckMode(Ice.OperationMode.Normal, current.mode);
                var    istr = inS.startReadParams();
                string iceP_zoneId;

                iceP_zoneId = istr.readString();
                inS.endReadParams();
                return(inS.setResultTask <EndPointZone>(obj.PlayerEnterAsync(iceP_zoneId, current),
                                                        (ostr, ret) =>
                {
                    EndPointZone.ice_write(ostr, ret);
                }));
            }
Exemplo n.º 15
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()));
        }
Exemplo n.º 16
0
        public static Ice.DispatchStatus sendImage___(Printer obj__, IceInternal.Incoming inS__, Ice.Current current__)
        {
            Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
            IceInternal.BasicStream is__ = inS__.startReadParams();
            byte[] seq;
            string name;

            seq  = demo.ByteSeqHelper.read(is__);
            name = is__.readString();
            inS__.endReadParams();
            obj__.sendImage(seq, name, current__);
            inS__.writeEmptyParams__();
            return(Ice.DispatchStatus.DispatchOK);
        }
Exemplo n.º 17
0
        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);
        }
Exemplo n.º 18
0
        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);
        }
 public static Ice.DispatchStatus Send___(IMessageService obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Normal, current__.mode);
     IceInternal.BasicStream is__ = inS__.startReadParams();
     IceInternal.ParamPatcher <NProgDistributed.TheIce.MessageDto> message__PP = new IceInternal.ParamPatcher <NProgDistributed.TheIce.MessageDto>(NProgDistributed.TheIce.MessageDto.ice_staticId());
     is__.readObject(message__PP);
     is__.readPendingObjects();
     inS__.endReadParams();
     NProgDistributed.TheIce.MessageDto ret__ = obj__.Send(message__PP.value, current__);
     IceInternal.BasicStream            os__  = inS__.startWriteParams__(Ice.FormatType.DefaultFormat);
     os__.writeObject(ret__);
     os__.writePendingObjects();
     inS__.endWriteParams__(true);
     return(Ice.DispatchStatus.DispatchOK);
 }
Exemplo n.º 20
0
        public static Ice.DispatchStatus toUpper___(Converter obj__, IceInternal.Incoming inS__, Ice.Current current__)
        {
            checkMode__(Ice.OperationMode.Normal, current__.mode);
            IceInternal.BasicStream is__ = inS__.startReadParams();
            string s;

            s = is__.readString();
            inS__.endReadParams();
            string ret__ = obj__.toUpper(s, current__);

            IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat);
            os__.writeString(ret__);
            inS__.endWriteParams__(true);
            return(Ice.DispatchStatus.DispatchOK);
        }
Exemplo n.º 21
0
        public static Ice.DispatchStatus SendData___(NMClient obj__, IceInternal.Incoming inS__, Ice.Current current__)
        {
            Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
            IceInternal.BasicStream is__ = inS__.startReadParams();
            string strXml;

            strXml = is__.readString();
            inS__.endReadParams();
            int ret__ = obj__.SendData(strXml, current__);

            IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat);
            os__.writeInt(ret__);
            inS__.endWriteParams__(true);
            return(Ice.DispatchStatus.DispatchOK);
        }
Exemplo n.º 22
0
        public static Ice.DispatchStatus send___(FaceRecognition obj__, IceInternal.Incoming inS__, Ice.Current current__)
        {
            Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
            IceInternal.BasicStream is__ = inS__.startReadParams();
            string xml;

            xml = is__.readString();
            inS__.endReadParams();
            string ret__ = obj__.send(xml, current__);

            IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat);
            os__.writeString(ret__);
            inS__.endWriteParams__(true);
            return(Ice.DispatchStatus.DispatchOK);
        }
Exemplo n.º 23
0
        public static Ice.DispatchStatus WriteLogInit___(LogServer_RPC obj__, IceInternal.Incoming inS__, Ice.Current current__)
        {
            Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
            IceInternal.BasicStream is__ = inS__.startReadParams();
            IRPC.LogInitInfo        InitInfo;
            InitInfo = null;
            InitInfo = IRPC.LogInitInfo.read__(is__, InitInfo);
            inS__.endReadParams();
            bool ret__ = obj__.WriteLogInit(InitInfo, current__);

            IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat);
            os__.writeBool(ret__);
            inS__.endWriteParams__(true);
            return(Ice.DispatchStatus.DispatchOK);
        }
Exemplo n.º 24
0
        public static Ice.DispatchStatus log___(RemoteLog obj__, IceInternal.Incoming inS__, Ice.Current current__)
        {
            checkMode__(Ice.OperationMode.Normal, current__.mode);
            IceInternal.BasicStream is__ = inS__.startReadParams();
            string name;
            string time;
            string msg;

            name = is__.readString();
            time = is__.readString();
            msg  = is__.readString();
            inS__.endReadParams();
            obj__.log(name, time, msg, current__);
            inS__.writeEmptyParams__();
            return(Ice.DispatchStatus.DispatchOK);
        }
Exemplo n.º 25
0
            iceD_LoginRequest(IAccount obj, IceInternal.Incoming inS, Ice.Current current)
            {
                Ice.ObjectImpl.iceCheckMode(Ice.OperationMode.Normal, current.mode);
                var    istr = inS.startReadParams();
                string iceP_account;
                string iceP_pwd;

                iceP_account = istr.readString();
                iceP_pwd     = istr.readString();
                inS.endReadParams();
                return(inS.setResultTask <LoginInfo>(obj.LoginRequestAsync(iceP_account, iceP_pwd, current),
                                                     (ostr, ret) =>
                {
                    LoginInfo.ice_write(ostr, ret);
                }));
            }
Exemplo n.º 26
0
            iceD_RegOrLoginReq(IPlayerCo obj, IceInternal.Incoming inS, Ice.Current current)
            {
                Ice.ObjectImpl.iceCheckMode(Ice.OperationMode.Normal, current.mode);
                var    istr = inS.startReadParams();
                string iceP_account;
                string iceP_pwd;

                iceP_account = istr.readString();
                iceP_pwd     = istr.readString();
                inS.endReadParams();
                return(inS.setResultTask <RLResultRes>(obj.RegOrLoginReqAsync(iceP_account, iceP_pwd, current),
                                                       (ostr, ret) =>
                {
                    RLResultRes.ice_write(ostr, ret);
                }));
            }
Exemplo n.º 27
0
        public static Ice.DispatchStatus RegistClient___(CSTransDataFromClient obj__, IceInternal.Incoming inS__, Ice.Current current__)
        {
            Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
            IceInternal.BasicStream is__ = inS__.startReadParams();
            string strClientId;

            IRPC.CallbackClientPrx callbackClient;
            int iHeartbeatInterval;

            strClientId        = is__.readString();
            callbackClient     = IRPC.CallbackClientPrxHelper.read__(is__);
            iHeartbeatInterval = is__.readInt();
            inS__.endReadParams();
            obj__.RegistClient(strClientId, callbackClient, iHeartbeatInterval, current__);
            inS__.writeEmptyParams__();
            return(Ice.DispatchStatus.DispatchOK);
        }
Exemplo n.º 28
0
        public static Ice.DispatchStatus WriteLog___(LogServer_RPC obj__, IceInternal.Incoming inS__, Ice.Current current__)
        {
            Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
            IceInternal.BasicStream is__ = inS__.startReadParams();
            string strServerID;
            string strPluginName;
            string strLog;
            int    LogLevel;

            strServerID   = is__.readString();
            strPluginName = is__.readString();
            strLog        = is__.readString();
            LogLevel      = is__.readInt();
            inS__.endReadParams();
            obj__.WriteLog(strServerID, strPluginName, strLog, LogLevel, current__);
            inS__.writeEmptyParams__();
            return(Ice.DispatchStatus.DispatchOK);
        }