C# 클래스 hessiancsharp.client.CHessianProxyStandardImpl

Proxy that works with .NET - Remote proxy framework
상속: System.Runtime.Remoting.Proxies.RealProxy, IRemotingTypeInfo, IHessianProxyStandard
파일 보기 프로젝트 열기: timfel/csharp-hessian

공개 메소드들

메소드 설명
CHessianProxyStandardImpl ( Type proxyType, CHessianProxyFactory hessianProxyFactory, Uri uri ) : System

Constructor

CHessianProxyStandardImpl ( Type proxyType, CHessianProxyFactory hessianProxyFactory, Uri uri, string username, string password, WebProxy webproxy ) : System
CanCastTo ( Type fromType, object obj ) : bool

Checks whether the proxy representing the specified object type can be cast to the type represented by the IRemotingTypeInfo interface

Invoke ( IMessage msg ) : IMessage

This reflective method for invoking methods. Overriden from RealProxy. Handles the object invocation. This method wrapps an instance call to the hessian requests, sends it to the hessian service and translates the reply of this call to the C# - data type System.Runtime.Remoting.Proxies.RealProxy

비공개 메소드들

메소드 설명
GetMethodInfoForMethodBase ( IMethodCallMessage methodMessage ) : MethodInfo

Gets method info instance, according to the given method base

IsMethodNameUnique ( string name ) : bool

메소드 상세

CHessianProxyStandardImpl() 공개 메소드

Constructor
public CHessianProxyStandardImpl ( Type proxyType, CHessianProxyFactory hessianProxyFactory, Uri uri ) : System
proxyType System.Type Interface type that has to be proxied
hessianProxyFactory CHessianProxyFactory HessianProxyFactory - Instance
uri System.Uri Server-Proxy uri
리턴 System

CHessianProxyStandardImpl() 공개 메소드

public CHessianProxyStandardImpl ( Type proxyType, CHessianProxyFactory hessianProxyFactory, Uri uri, string username, string password, WebProxy webproxy ) : System
proxyType System.Type
hessianProxyFactory CHessianProxyFactory
uri System.Uri
username string
password string
webproxy System.Net.WebProxy
리턴 System

CanCastTo() 공개 메소드

Checks whether the proxy representing the specified object type can be cast to the type represented by the IRemotingTypeInfo interface
public CanCastTo ( Type fromType, object obj ) : bool
fromType System.Type Cast - Type
obj object Proxy object
리턴 bool

Invoke() 공개 메소드

This reflective method for invoking methods. Overriden from RealProxy. Handles the object invocation. This method wrapps an instance call to the hessian requests, sends it to the hessian service and translates the reply of this call to the C# - data type System.Runtime.Remoting.Proxies.RealProxy
public Invoke ( IMessage msg ) : IMessage
msg IMessage
리턴 IMessage