org.as2lib.core.BasicClass +--org.as2lib.io.conn.core.client.AbstractClientServiceProxyFactory +--org.as2lib.io.conn.local.client.SimpleClientServiceProxyFactory
ClientServiceProxyFactory
SimpleClientServiceProxyFactory
is the simplest implementation of a client
service proxy factory.
It allows only the getClientServiceProxyByUrl method to be used and
not the getClientServiceProxyByUrlAndType
method.
var clientFactory:SimpleClientServiceProxyFactory = new SimpleClientServiceProxyFactory();
var client:ClientServiceProxy = clientFactory.getClientServiceProxy("local.as2lib.org/myService");
new SimpleClientServiceProxyFactory()
getClientServiceProxy(), getClientServiceProxyByUrlAndType()
public function getClientServiceProxyByUrl(url:String):ClientServiceProxy
Returns a client service proxy for the service specified by the passed-in
url
.
You can use this proxy to invoke methods on the 'remote' service and to handle responses. The returned client service proxy is an instance of class LocalClientServiceProxy.
url | the url of the 'remote' service |
a client service proxy to invoke methods on the 'remote' service
getClientServiceProxyByUrl() in org.as2lib.io.conn.core.client.ClientServiceProxyFactory