Connection Class

Class com.probertson.xmlrpc.Connection

Inheritance > Connection

Manages network communication for an XML-RPC Service Class. In general Connections will be managed internally. Multiple Services which access the same url will reuse Connection instances, so there is no need to manually force Connections to be reused.
Method Summary
 internal Void 
 call(methodName:String, pendingCall:PendingCall, args:Array)
Makes an XMLRPC method call.
 internal static Connection 
 createConnection(uri:String)
Creates a new connection.
 internal static Connection 
 getConnection(uri:String)
Obtain a reference to a Connection, if one has already been created for a particular uri.
Method Detail
call
internal function call(methodName:String, pendingCall:PendingCall, args:Array):Void
Makes an XMLRPC method call. This should not be called by developers; instead, create a Service Class instance and call remote methods through that.
Parameters:
methodName
Full method name of the XML-RPC method to call.
pendingCall
Instance which is listening for the response from the call.
args
Arguments to pass to the XML-RPC method call.
createConnection
internal static function createConnection(uri:String):Connection
Creates a new connection.
Parameters:
uri
The uri of the connection.
Returns:
The newly created connection.
getConnection
internal static function getConnection(uri:String):Connection
Obtain a reference to a Connection, if one has already been created for a particular uri.
Parameters:
uri
The uri of the connection.
Returns:
The connection with that uri.



Documentation generated by BLDoc Community Edition from B-Line Express.