C# 클래스 hessiancsharp.client.CHessianMethodCaller

Zusammenfassung für CHessianMethodCaller.
상속: AbstractCHessianMethodCaller
파일 보기 프로젝트 열기: timfel/csharp-hessian 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
m_proxy System.Net.WebProxy

공개 메소드들

메소드 설명
CHessianMethodCaller ( CHessianProxyFactory hessianProxyFactory, Uri uri ) : System.IO.Compression
CHessianMethodCaller ( CHessianProxyFactory hessianProxyFactory, Uri uri, string username, string password ) : System.IO.Compression
CHessianMethodCaller ( CHessianProxyFactory hessianProxyFactory, Uri uri, string username, string password, WebProxy proxy ) : System.IO.Compression
DoHessianMethodCall ( object arrMethodArgs, MethodInfo methodInfo ) : object

This method wrapps an instance call to the hessian requests, sends it to the hessian service and translates the reply of this call to the C# - data type

보호된 메소드들

메소드 설명
AddCustomHeadersToRequest ( WebRequest request, System.Web.SessionState.HttpSessionState session ) : void
OpenConnection ( Uri uri ) : WebRequest

Creates the URI connection.

PrepareWebRequest ( long contentLength ) : WebRequest

Prepares a WebRequest object for communication with the Hessian server.

ReadReply ( WebRequest webRequest, MethodInfo methodInfo, Stream &sInStream, int &totalBytesRead ) : object

Reads and decodes the reply.

SendRequest ( byte request, Stream &sOutStream ) : WebRequest

Sends the web request.

메소드 상세

AddCustomHeadersToRequest() 보호된 메소드

protected AddCustomHeadersToRequest ( WebRequest request, System.Web.SessionState.HttpSessionState session ) : void
request System.Net.WebRequest
session System.Web.SessionState.HttpSessionState
리턴 void

CHessianMethodCaller() 공개 메소드

public CHessianMethodCaller ( CHessianProxyFactory hessianProxyFactory, Uri uri ) : System.IO.Compression
hessianProxyFactory CHessianProxyFactory
uri System.Uri
리턴 System.IO.Compression

CHessianMethodCaller() 공개 메소드

public CHessianMethodCaller ( CHessianProxyFactory hessianProxyFactory, Uri uri, string username, string password ) : System.IO.Compression
hessianProxyFactory CHessianProxyFactory
uri System.Uri
username string
password string
리턴 System.IO.Compression

CHessianMethodCaller() 공개 메소드

public CHessianMethodCaller ( CHessianProxyFactory hessianProxyFactory, Uri uri, string username, string password, WebProxy proxy ) : System.IO.Compression
hessianProxyFactory CHessianProxyFactory
uri System.Uri
username string
password string
proxy System.Net.WebProxy
리턴 System.IO.Compression

DoHessianMethodCall() 공개 메소드

This method wrapps an instance call to the hessian requests, sends it to the hessian service and translates the reply of this call to the C# - data type
public DoHessianMethodCall ( object arrMethodArgs, MethodInfo methodInfo ) : object
arrMethodArgs object The arguments to the method call
methodInfo System.Reflection.MethodInfo The method to call
리턴 object

OpenConnection() 보호된 메소드

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

PrepareWebRequest() 보호된 메소드

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

ReadReply() 보호된 메소드

Reads and decodes the reply.
protected ReadReply ( WebRequest webRequest, MethodInfo methodInfo, Stream &sInStream, int &totalBytesRead ) : object
webRequest System.Net.WebRequest
methodInfo System.Reflection.MethodInfo
sInStream Stream
totalBytesRead int
리턴 object

SendRequest() 보호된 메소드

Sends the web request.
protected SendRequest ( byte request, Stream &sOutStream ) : WebRequest
request byte
sOutStream Stream
리턴 System.Net.WebRequest

프로퍼티 상세

m_proxy 보호되어 있는 프로퍼티

protected WebProxy,System.Net m_proxy
리턴 System.Net.WebProxy