Variables

timeout:Int

The timeout for the services. Default to no timeout, same as Flex.

Methods

getService(name:String):Dynamic

Return the service with the given name.

Parameters:

name

the name of the service.

Returns:

the service.

logout():Void

Log the user out of all registered services.

register(serviceLocator:IServiceLocator):Void

Register the services.

Parameters:

serviceLocator

the IServiceLocator isntance.

release():Void

Release the resources held by the service.

setCredentials(username:String, password:String):Void

Set the credentials for all registered services.

Parameters:

username

the username to set.

password

the password to set.

setRemoteCredentials(username:String, password:String):Void

Set the remote credentials for all registered services.

Parameters:

username

the username to set.

password

the password to set.