Esempio n. 1
0
        public RemotingResponse HandleRequest(IRequestHandlerContext context, RemotingRequest remotingRequest)
        {
            var request        = _binarySerializer.Deserialize <GetClusterBrokersRequest>(remotingRequest.Body);
            var brokerInfoList = _clusterManager.GetClusterBrokers(request);
            var data           = _binarySerializer.Serialize(brokerInfoList);

            return(RemotingResponseFactory.CreateResponse(remotingRequest, data));
        }