C# Class burlapcsharp.client.CBurlapMethodCaller

Afficher le fichier Open project: timfel/csharp-hessian Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

DoBurlapMethodCall() public méthode

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
Résultat object

GetArgTypes() public static méthode

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