C# 클래스 hessiancsharp.client.CHessianProxyFactory

Factory for Proxy - creation.
파일 보기 프로젝트 열기: timfel/csharp-hessian 1 사용 예제들

공개 메소드들

메소드 설명
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