C# Class hessiancsharp.client.CHessianProxy

Proxy implementation for Hessian clients, that wrapps all public instance calls to the hessian requests sends them and translates the replies of this calls to the C# - data types
显示文件 Open project: timfel/csharp-hessian

Public Methods

Method Description
Invoke ( object objProxy, MethodInfo methodInfo, object arrMethodArgs ) : object

Handles the object invocation. 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

Private Methods

Method Description
CHessianProxy ( CHessianProxyFactory hessianProxyFactory, Uri uri ) : System

Constructor

CHessianProxy ( CHessianProxyFactory hessianProxyFactory, Uri uri, string username, string password ) : System
CHessianProxy ( CHessianProxyFactory hessianProxyFactory, Uri uri, string username, string password, WebProxy webproxy ) : System

Method Details

Invoke() public method

Handles the object invocation. 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 Invoke ( object objProxy, MethodInfo methodInfo, object arrMethodArgs ) : object
objProxy object The proxy object to invoke
methodInfo System.Reflection.MethodInfo The method to call
arrMethodArgs object The arguments to the method call
return object