C# Class hessiancsharp.client.CHessianProxyFactory

Factory for Proxy - creation.
Afficher le fichier Open project: timfel/csharp-hessian Class Usage Examples

Méthodes publiques

Méthode Description
CHessianProxyFactory ( ) : System
CHessianProxyFactory ( string username, string password ) : System
CHessianProxyFactory ( string username, string password, WebProxy webproxy ) : System
Create ( Type type, string strUrl ) : Object

Creates a new proxy with the specified URL. The returned object is a proxy with the interface specified by api. string url = "http://localhost:8080/ejb/hello"); HelloHome hello = (HelloHome) factory.create(HelloHome.class, url);

Private Methods

Méthode Description
CreateHessianStandardProxy ( string strUrl, Type type ) : object

Creates proxy object using .NET - Remote proxy framework

Method Details

CHessianProxyFactory() public méthode

public CHessianProxyFactory ( ) : System
Résultat System

CHessianProxyFactory() public méthode

public CHessianProxyFactory ( string username, string password ) : System
username string
password string
Résultat System

CHessianProxyFactory() public méthode

public CHessianProxyFactory ( string username, string password, WebProxy webproxy ) : System
username string
password string
webproxy System.Net.WebProxy
Résultat System

Create() public méthode

Creates a new proxy with the specified URL. The returned object is a proxy with the interface specified by api. string url = "http://localhost:8080/ejb/hello"); HelloHome hello = (HelloHome) factory.create(HelloHome.class, url);
public Create ( Type type, string strUrl ) : Object
type System.Type the interface the proxy class needs to implement
strUrl string the URL where the client object is located
Résultat Object