Exemplo n.º 1
0
 //internal members
 internal XmlRpcAsyncResult(
     XmlRpcClientProtocol ClientProtocol,
     XmlRpcRequest XmlRpcReq,
     Encoding XmlEncoding,
     bool useEmptyParamsTag,
     bool useIndentation,
     int indentation,
     bool UseIntTag,
     bool UseStringTag,
     WebRequest Request,
     AsyncCallback UserCallback,
     object UserAsyncState,
     int retryNumber)
 {
     xmlRpcRequest          = XmlRpcReq;
     clientProtocol         = ClientProtocol;
     request                = Request;
     userAsyncState         = UserAsyncState;
     userCallback           = UserCallback;
     completedSynchronously = true;
     xmlEncoding            = XmlEncoding;
     _useEmptyParamsTag     = useEmptyParamsTag;
     _useIndentation        = useIndentation;
     _indentation           = indentation;
     _useIntTag             = UseIntTag;
     _useStringTag          = UseStringTag;
 }
Exemplo n.º 2
0
 public void Detach(XmlRpcClientProtocol proxy)
 {
     proxy.RequestEvent  -= new XmlRpcRequestEventHandler(OnRequest);
     proxy.ResponseEvent -= new XmlRpcResponseEventHandler(OnResponse);
 }