C# Class burlapcsharp.client.CBurlapMethodCaller

Mostrar archivo Open project: timfel/csharp-hessian Class Usage Examples

Public Methods

Method Description
CBurlapMethodCaller ( CBurlapProxyFactory burlapProxyFactory, Uri uri ) : System

Constructor

DoBurlapMethodCall ( object arrMethodArgs, MethodInfo methodInfo ) : object

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

GetArgTypes ( object arrArgs ) : System.Type[]

Returns array with types of the instance from the argument array

Private Methods

Method Description
GetBurlapInput ( Stream stream ) : AbstractBurlapInput

Instantiation of the burlap input (not cached)

GetBurlapOutput ( Stream stream ) : CBurlapOutput

Instantiation of the hessian output (not cached)

OpenConnection ( Uri uri ) : WebRequest

Creates the URI connection.

Method Details

CBurlapMethodCaller() public method

Constructor
public CBurlapMethodCaller ( CBurlapProxyFactory burlapProxyFactory, Uri uri ) : System
burlapProxyFactory CBurlapProxyFactory
uri System.Uri Server-Proxy uri
return System

DoBurlapMethodCall() public method

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

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[]