private void __Relink(string token)
        {
            //配置请求包
            ServerRequestPackage reqtPkg = new ServerRequestPackage(true);
            IMiddleware2ServerHandShakeRequest reqtInterface = reqtPkg.Active_Middleware2ServerHandShakeRequest();

            reqtInterface.HandShake(true, token);

            ServerReplyPackage replyPkg = null;

            try
            {
                replyPkg = _binProcessferProcessor.SynSendMessage(reqtPkg, 100000);
            }
            catch (System.Exception ex)
            {
                throw ex;
            }
            bool   ret;
            string errorDetail;
            IMiddleware2ServerHandShakeReply replyInterface = replyPkg.Active_MiddlewareHandShakeReply();

            replyInterface.HandShakeRet(out ret, out errorDetail);
            if (true == ret)
            {
                //nothing to do
            }
            else
            {
                throw new InitializationExtion(errorDetail);
            }
        }
        private string __FirstHandShake(string detail)
        {
            //配置请求包
            ServerRequestPackage reqtPkg = new ServerRequestPackage(true);
            IMiddleware2ServerHandShakeRequest reqtInterface = reqtPkg.Active_Middleware2ServerHandShakeRequest();

            reqtInterface.HandShake(false, detail);
            ServerReplyPackage replyPkg = null;

            replyPkg = _binProcessferProcessor.SynSendMessage(reqtPkg, 100000);

            IMiddleware2ServerHandShakeReply replyInterface = replyPkg.Active_MiddlewareHandShakeReply();
            bool   ret;
            string tokenOrErrorInfo;

            replyInterface.HandShakeRet(out ret, out tokenOrErrorInfo);
            if (true == ret)
            {
                return(tokenOrErrorInfo);
            }
            else
            {
                throw new InitializationExtion(tokenOrErrorInfo);
            }
        }