C# Класс hessiancsharp.client.CHessianProxyFactory

Factory for Proxy - creation.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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);

Приватные методы

Метод Описание
CreateHessianStandardProxy ( string strUrl, Type type ) : object

Creates proxy object using .NET - Remote proxy framework

Описание методов

CHessianProxyFactory() публичный Метод

public CHessianProxyFactory ( ) : System
Результат System

CHessianProxyFactory() публичный Метод

public CHessianProxyFactory ( string username, string password ) : System
username string
password string
Результат System

CHessianProxyFactory() публичный Метод

public CHessianProxyFactory ( string username, string password, WebProxy webproxy ) : System
username string
password string
webproxy System.Net.WebProxy
Результат System

Create() публичный Метод

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
Результат Object