C# Class hessiancsharp.client.AbstractCHessianMethodCaller

Zusammenfassung für CHessianMethodCaller.
Show file Open project: timfel/csharp-hessian

Protected Properties

Property Type Description
m_CHessianProxyFactory CHessianProxyFactory
m_credentials System.Net.NetworkCredential
m_uriHessianServiceUri System.Uri

Public Methods

Method Description
AbstractCHessianMethodCaller ( ) : System.IO.Compression
AbstractCHessianMethodCaller ( CHessianProxyFactory hessianProxyFactory, Uri uri ) : System.IO.Compression
AbstractCHessianMethodCaller ( CHessianProxyFactory hessianProxyFactory, Uri uri, string username, string password ) : System.IO.Compression
GetArgTypes ( object arrArgs ) : System.Type[]

Returns array with types of the instance from the argument array

Protected Methods

Method Description
GetHessianInput ( Stream stream ) : AbstractHessianInput

Instantiation of the hessian input (not cached)

GetHessianOutput ( Stream stream ) : CHessianOutput

Instantiation of the hessian output (not cached)

GetRequestBytes ( object arrMethodArgs, MethodInfo methodInfo ) : byte[]

Translates the method call to a request byte array.

OpenConnection ( Uri uri ) : WebRequest

Creates the URI connection.

PrepareWebRequest ( long contentLength ) : WebRequest

Prepares a WebRequest object for communication with the Hessian server.

ReadAndThrowHttpFault ( WebResponse webResponse ) : void

Reads a HTTP fault and throws a CHessianException.

Method Details

AbstractCHessianMethodCaller() public method

public AbstractCHessianMethodCaller ( ) : System.IO.Compression
return System.IO.Compression

AbstractCHessianMethodCaller() public method

public AbstractCHessianMethodCaller ( CHessianProxyFactory hessianProxyFactory, Uri uri ) : System.IO.Compression
hessianProxyFactory CHessianProxyFactory
uri System.Uri
return System.IO.Compression

AbstractCHessianMethodCaller() public method

public AbstractCHessianMethodCaller ( CHessianProxyFactory hessianProxyFactory, Uri uri, string username, string password ) : System.IO.Compression
hessianProxyFactory CHessianProxyFactory
uri System.Uri
username string
password string
return System.IO.Compression

GetArgTypes() public static method

Returns array with types of the instance from the argument array
public static GetArgTypes ( object arrArgs ) : System.Type[]
arrArgs object Any array
return System.Type[]

GetHessianInput() protected method

Instantiation of the hessian input (not cached)
protected GetHessianInput ( Stream stream ) : AbstractHessianInput
stream Stream Stream for HessianInput-Instantiation
return hessiancsharp.io.AbstractHessianInput

GetHessianOutput() protected method

Instantiation of the hessian output (not cached)
protected GetHessianOutput ( Stream stream ) : CHessianOutput
stream Stream Strean for HessianOutput - Instantiation
return hessiancsharp.io.CHessianOutput

GetRequestBytes() protected method

Translates the method call to a request byte array.
protected GetRequestBytes ( object arrMethodArgs, MethodInfo methodInfo ) : byte[]
arrMethodArgs object
methodInfo System.Reflection.MethodInfo
return byte[]

OpenConnection() protected method

Creates the URI connection.
protected OpenConnection ( Uri uri ) : WebRequest
uri System.Uri Uri for connection
return System.Net.WebRequest

PrepareWebRequest() protected method

Prepares a WebRequest object for communication with the Hessian server.
protected PrepareWebRequest ( long contentLength ) : WebRequest
contentLength long
return System.Net.WebRequest

ReadAndThrowHttpFault() protected method

Reads a HTTP fault and throws a CHessianException.
protected ReadAndThrowHttpFault ( WebResponse webResponse ) : void
webResponse System.Net.WebResponse
return void

Property Details

m_CHessianProxyFactory protected property

protected CHessianProxyFactory,hessiancsharp.client m_CHessianProxyFactory
return CHessianProxyFactory

m_credentials protected property

protected NetworkCredential,System.Net m_credentials
return System.Net.NetworkCredential

m_uriHessianServiceUri protected property

protected Uri,System m_uriHessianServiceUri
return System.Uri