コード例 #1
0
        public AsynchMobileAppSocketService() : base()
        {
            MyManagerLoginMobileUser = new ManagerLoginMobileUser();
            MyManagerSocketLoginUser = MyManagerLoginMobileUser;

            MyMobileServerClientAPI  = new MobileServerClientAPI();
            MyLGJSocketClientAPIBase = MyMobileServerClientAPI;

            InitServiceParas();
        }
コード例 #2
0
        protected void InitServiceParas()
        {
            MyTCPListerPort = 8920; MySocketServiceTypeID = SocketServiceTypeID.RequestIndexServer;

            if (MyManagerSocketLoginUser == null)
            {
                MyManagerSocketLoginUser = new  ManagerLoginMobileUser();
            }
            MyManagerSocketLoginUser.MyAsynchSendMessageCallback = new ManagerSocketLoginUser.AsynchSendMessageCallback(this.StartAsynchSendMessage);

            //MyLGJSocketClientAPIBase = new LGJSocketClientAPILib.MobileServerClientAPI();
            //MyLGJSocketClientAPIBase.MyRemoteServerColseCallBack = new LGJSocketClientAPIBase.RemoteServerColseCallBack(this.SocketClientColseServerCallBack);
            //MyLGJSocketClientAPIBase.MyRecieveMessageCallback = new LGJSocketClientAPIBase.RecieveMessageCallback(this.SocketClientResponseCallBack);
            //MyLGJSocketClientAPIBase.ReturnSendMessageInvoke = new LGJSocketClientAPIBase.SendRecieveMessageCallback(this.SocketClientRequestCallBack);
        }