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

Proxy that works with .NET - Remote proxy framework
Наследование: System.Runtime.Remoting.Proxies.RealProxy, IRemotingTypeInfo, IHessianProxyStandard
Показать файл Открыть проект

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

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