C# Class burlapcsharp.client.CBurlapProxyFactory

Factory for Proxy - creation.
Show file Open project: timfel/csharp-hessian Class Usage Examples

Public Methods

Method Description
CBurlapProxyFactory ( ) : System
CBurlapProxyFactory ( string username, string password ) : 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

Method Description
CreateBurlapStandardProxy ( string strUrl, Type type ) : object

Creates proxy object using .NET - Remote proxy framework

Method Details

CBurlapProxyFactory() public method

public CBurlapProxyFactory ( ) : System
return System

CBurlapProxyFactory() public method

public CBurlapProxyFactory ( string username, string password ) : System
username string
password string
return System

Create() public method

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
return Object