C# Class CookComputing.XmlRpc.XmlRpcClientProtocol

Inheritance: System.ComponentModel.Component, IXmlRpcProxy
Mostra file Open project: bricel/DrutNet Class Usage Examples

Private Properties

Property Type Description
BeginSystemListMethods IAsyncResult
BeginSystemMethodHelp IAsyncResult
BeginSystemMethodSignature IAsyncResult
GetEffectiveUrl string
GetMethodInfoFromName System.Reflection.MethodInfo
GetRequestStreamCallback void
GetResponseCallback void
GetRpcMethodName string
InitializeComponent void
InternalOnResponse void
MakeXmlRpcRequest CookComputing.XmlRpc.XmlRpcRequest
ProcessAsyncException void
ProcessAsyncResponseStreamResult bool
ReadAsyncResponse void
ReadAsyncResponseStream void
ReadResponse CookComputing.XmlRpc.XmlRpcResponse
ReadResponseCallback void
SetClientCertificates void
SetRequestHeaders void
SystemListMethods string[]
SystemMethodHelp string
SystemMethodSignature object[]

Public Methods

Method Description
BeginInvoke ( MethodBase mb, object parameters, AsyncCallback callback, object outerAsyncState ) : IAsyncResult
BeginInvoke ( MethodInfo mi, object parameters, AsyncCallback callback, object outerAsyncState ) : IAsyncResult
BeginInvoke ( MethodInfo mi, object parameters, object clientObj, AsyncCallback callback, object outerAsyncState ) : IAsyncResult
BeginInvoke ( string methodName, object parameters, object clientObj, AsyncCallback callback, object outerAsyncState ) : IAsyncResult
EndInvoke ( IAsyncResult asr ) : object
EndInvoke ( IAsyncResult asr, Type returnType ) : object
EndSystemListMethods ( IAsyncResult AsyncResult ) : string[]
EndSystemMethodHelp ( IAsyncResult AsyncResult ) : string
EndSystemMethodSignature ( IAsyncResult AsyncResult ) : Array
Invoke ( MethodBase mb ) : object
Invoke ( MethodInfo mi ) : object
Invoke ( Object clientObj, MethodInfo mi ) : object
Invoke ( Object clientObj, string methodName ) : object
Invoke ( string MethodName ) : object
SetProperties ( WebRequest webReq ) : void
XmlRpcClientProtocol ( ) : System
XmlRpcClientProtocol ( System container ) : System

Protected Methods

Method Description
GetWebRequest ( Uri uri ) : WebRequest
GetWebResponse ( WebRequest request ) : WebResponse
GetWebResponse ( WebRequest request, IAsyncResult result ) : WebResponse
MaybeDecompressStream ( HttpWebResponse httpWebResp, Stream respStream ) : Stream
OnRequest ( CookComputing.XmlRpc.XmlRpcRequestEventArgs e ) : void
OnResponse ( CookComputing.XmlRpc.XmlRpcResponseEventArgs e ) : void

Private Methods

Method Description
BeginSystemListMethods ( AsyncCallback Callback, object State ) : IAsyncResult
BeginSystemMethodHelp ( string MethodName, AsyncCallback Callback, object State ) : IAsyncResult
BeginSystemMethodSignature ( string MethodName, AsyncCallback Callback, object State ) : IAsyncResult
GetEffectiveUrl ( object clientObj ) : string
GetMethodInfoFromName ( object clientObj, string methodName, object parameters ) : MethodInfo
GetRequestStreamCallback ( IAsyncResult asyncResult ) : void
GetResponseCallback ( IAsyncResult asyncResult ) : void
GetRpcMethodName ( object clientObj, MethodInfo mi ) : string
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

InternalOnResponse ( CookComputing.XmlRpc.XmlRpcResponseEventArgs e ) : void
MakeXmlRpcRequest ( WebRequest webReq, MethodInfo mi, object parameters, object clientObj, string xmlRpcMethod, System.Guid proxyId ) : CookComputing.XmlRpc.XmlRpcRequest
ProcessAsyncException ( XmlRpcAsyncResult clientResult, Exception ex ) : void
ProcessAsyncResponseStreamResult ( XmlRpcAsyncResult result, IAsyncResult asyncResult ) : bool
ReadAsyncResponse ( XmlRpcAsyncResult result ) : void
ReadAsyncResponseStream ( XmlRpcAsyncResult result ) : void
ReadResponse ( CookComputing.XmlRpc.XmlRpcRequest req, WebResponse webResp, Stream respStm, Type returnType ) : CookComputing.XmlRpc.XmlRpcResponse
ReadResponseCallback ( IAsyncResult asyncResult ) : void
SetClientCertificates ( X509CertificateCollection certificates, WebRequest webReq ) : void
SetRequestHeaders ( WebHeaderCollection headers, WebRequest webReq ) : void
SystemListMethods ( ) : string[]
SystemMethodHelp ( string MethodName ) : string
SystemMethodSignature ( string MethodName ) : object[]

Method Details

BeginInvoke() public method

public BeginInvoke ( MethodBase mb, object parameters, AsyncCallback callback, object outerAsyncState ) : IAsyncResult
mb System.Reflection.MethodBase
parameters object
callback AsyncCallback
outerAsyncState object
return IAsyncResult

BeginInvoke() public method

public BeginInvoke ( MethodInfo mi, object parameters, AsyncCallback callback, object outerAsyncState ) : IAsyncResult
mi System.Reflection.MethodInfo
parameters object
callback AsyncCallback
outerAsyncState object
return IAsyncResult

BeginInvoke() public method

public BeginInvoke ( MethodInfo mi, object parameters, object clientObj, AsyncCallback callback, object outerAsyncState ) : IAsyncResult
mi System.Reflection.MethodInfo
parameters object
clientObj object
callback AsyncCallback
outerAsyncState object
return IAsyncResult

BeginInvoke() public method

public BeginInvoke ( string methodName, object parameters, object clientObj, AsyncCallback callback, object outerAsyncState ) : IAsyncResult
methodName string
parameters object
clientObj object
callback AsyncCallback
outerAsyncState object
return IAsyncResult

EndInvoke() public method

public EndInvoke ( IAsyncResult asr ) : object
asr IAsyncResult
return object

EndInvoke() public method

public EndInvoke ( IAsyncResult asr, Type returnType ) : object
asr IAsyncResult
returnType System.Type
return object

EndSystemListMethods() public method

public EndSystemListMethods ( IAsyncResult AsyncResult ) : string[]
AsyncResult IAsyncResult
return string[]

EndSystemMethodHelp() public method

public EndSystemMethodHelp ( IAsyncResult AsyncResult ) : string
AsyncResult IAsyncResult
return string

EndSystemMethodSignature() public method

public EndSystemMethodSignature ( IAsyncResult AsyncResult ) : Array
AsyncResult IAsyncResult
return System.Array

GetWebRequest() protected method

protected GetWebRequest ( Uri uri ) : WebRequest
uri System.Uri
return System.Net.WebRequest

GetWebResponse() protected method

protected GetWebResponse ( WebRequest request ) : WebResponse
request System.Net.WebRequest
return System.Net.WebResponse

GetWebResponse() protected method

protected GetWebResponse ( WebRequest request, IAsyncResult result ) : WebResponse
request System.Net.WebRequest
result IAsyncResult
return System.Net.WebResponse

Invoke() public method

public Invoke ( MethodBase mb ) : object
mb System.Reflection.MethodBase
return object

Invoke() public method

public Invoke ( MethodInfo mi ) : object
mi System.Reflection.MethodInfo
return object

Invoke() public method

public Invoke ( Object clientObj, MethodInfo mi ) : object
clientObj Object
mi System.Reflection.MethodInfo
return object

Invoke() public method

public Invoke ( Object clientObj, string methodName ) : object
clientObj Object
methodName string
return object

Invoke() public method

public Invoke ( string MethodName ) : object
MethodName string
return object

MaybeDecompressStream() protected method

protected MaybeDecompressStream ( HttpWebResponse httpWebResp, Stream respStream ) : Stream
httpWebResp System.Net.HttpWebResponse
respStream Stream
return Stream

OnRequest() protected method

protected OnRequest ( CookComputing.XmlRpc.XmlRpcRequestEventArgs e ) : void
e CookComputing.XmlRpc.XmlRpcRequestEventArgs
return void

OnResponse() protected method

protected OnResponse ( CookComputing.XmlRpc.XmlRpcResponseEventArgs e ) : void
e CookComputing.XmlRpc.XmlRpcResponseEventArgs
return void

SetProperties() public method

public SetProperties ( WebRequest webReq ) : void
webReq System.Net.WebRequest
return void

XmlRpcClientProtocol() public method

public XmlRpcClientProtocol ( ) : System
return System

XmlRpcClientProtocol() public method

public XmlRpcClientProtocol ( System container ) : System
container System
return System