Packagesystem.remoting
Classpublic class RemotingConnection
InheritanceRemotingConnection Inheritance flash.net.NetConnection

The RemotingConnection object used in the RemotingService class to connect the client with the server.



Public Methods
 MethodDefined By
  
RemotingConnection(url:String = null)
Creates a new RemotingConnection instance.
RemotingConnection
  
setCredentials(authentification:RemotingAuthentification = null):void
Sets the credentials authentification value of this connection.
RemotingConnection
  
startDebug():void
Start the debug mode of this connection.
RemotingConnection
  
stopDebug():void
Stop the debug mode of this connection.
RemotingConnection
Public Constants
 ConstantDefined By
  AMF_SERVER_DEBUG : String = amf_server_debug
[static] The string value of the amf server debug attribut.
RemotingConnection
  CREDENTIALS : String = Credentials
[static] The "credentials" constant.
RemotingConnection
Constructor Detail
RemotingConnection()Constructor
public function RemotingConnection(url:String = null)

Creates a new RemotingConnection instance.

Parameters
url:String (default = null) — the optional url to connect the object.
Method Detail
setCredentials()method
public function setCredentials(authentification:RemotingAuthentification = null):void

Sets the credentials authentification value of this connection.

Parameters

authentification:RemotingAuthentification (default = null) — The RemotingAuthentification object to defines the credentials user id and password of the service session.

startDebug()method 
public function startDebug():void

Start the debug mode of this connection.

stopDebug()method 
public function stopDebug():void

Stop the debug mode of this connection.

Constant Detail
AMF_SERVER_DEBUGConstant
public static const AMF_SERVER_DEBUG:String = amf_server_debug

The string value of the amf server debug attribut.

CREDENTIALSConstant 
public static const CREDENTIALS:String = Credentials

The "credentials" constant.