public bool AttachStub(MessageStub stub)
        {
            if (stub.AttachRpcStub(stubHandlers))
            {
                stubList.Add(stub);
                return(true);
            }

            return(false);
        }
        public bool AttachStub(MessageStub stub)
        {
            if (stub.AttachRpcStub(stubHandlers))
            {
                stubList.Add(stub);
                return true;
            }

            return false;
        }