コード例 #1
0
 public static DispatchStatus ice_ping___(Ice.Object __obj, IceInternal.Incoming inS__, Current __current)
 {
     inS__.readEmptyParams();
     __obj.ice_ping(__current);
     inS__.writeEmptyParams__();
     return(DispatchStatus.DispatchOK);
 }
コード例 #2
0
 public static Ice.DispatchStatus logout___(BaseService obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
     inS__.readEmptyParams();
     obj__.logout(current__);
     inS__.writeEmptyParams__();
     return(Ice.DispatchStatus.DispatchOK);
 }
コード例 #3
0
ファイル: Callback.cs プロジェクト: ysjr-2002/ICE-Stduy
 public static Ice.DispatchStatus shutdown___(CallbackSender obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
     inS__.readEmptyParams();
     obj__.shutdown(current__);
     inS__.writeEmptyParams__();
     return(Ice.DispatchStatus.DispatchOK);
 }
コード例 #4
0
ファイル: Callback.cs プロジェクト: ysjr-2002/ICE-Stduy
 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);
 }
コード例 #5
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);
 }
コード例 #6
0
ファイル: hello.cs プロジェクト: ysjr-2002/ICE-Stduy
        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);
        }
コード例 #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);
        }
コード例 #8
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);
        }
コード例 #9
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);
        }
コード例 #10
0
ファイル: hello.cs プロジェクト: ysjr-2002/ICE-Stduy
        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);
        }
コード例 #11
0
ファイル: CS_NMClient.cs プロジェクト: metoer/wpf
        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);
        }
コード例 #12
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);
        }
コード例 #13
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);
        }
コード例 #14
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);
        }