Interface org.as2lib.io.conn.core.client.ClientServiceProxyFactory

Description

ClientServiceProxyFactory acts as central provider of client service proxies.

Method Index

getClientServiceProxy(), getClientServiceProxyByUrl(), getClientServiceProxyByUrlAndType()

Inherited from BasicInterface

Method Detail

getClientServiceProxy

public function getClientServiceProxy()

getClientServiceProxyByUrl

public function getClientServiceProxyByUrl(url:String):ClientServiceProxy

Returns a client service proxy that is fully configured and ready for usage.

Parameters

urlthe complete url to the service

Return

a configured client service proxy

getClientServiceProxyByUrlAndType

public function getClientServiceProxyByUrlAndType(url:String, type:Function)

Returns a proxy that can be casted to the passed-in type (class or interface).

The type is therefore normally the type of the service you want to invoke methods on.

Parameters

urlthe complete url to the service
typethe type of the service

Return

a proxy that can be casted to the passed-in type