| Package | system.remoting |
| Class | public class RemotingConnections |
| Inheritance | RemotingConnections Object |
| Property | Defined By | ||
|---|---|---|---|
| numConnections : uint [read-only]
Indicates the number of connections registered in the collection. | RemotingConnections | ||
| Method | Defined By | ||
|---|---|---|---|
Creates a new RemotingCollector instance. | RemotingConnections | ||
addConnection(gatewayUrl:String, connection:RemotingConnection):Boolean
Adds a new RemotingConnection object with a single gateway url. | RemotingConnections | ||
containsConnection(gatewayUrl:String):Boolean
Indicates if the collector contains the specific gatewayUrl. | RemotingConnections | ||
getConnection(gatewayUrl:String):RemotingConnection
Creates the ObjectResource object with the specified generic object. | RemotingConnections | ||
removeConnection(gatewayUrl:String = null):Boolean
Removes the specific connection with the passed-in gateway url or all connections if the passed-in argument is null or empty. | RemotingConnections | ||
| numConnections | property |
numConnections:uint [read-only] Indicates the number of connections registered in the collection.
public function get numConnections():uint| RemotingConnections | () | Constructor |
public function RemotingConnections()Creates a new RemotingCollector instance.
| addConnection | () | method |
public function addConnection(gatewayUrl:String, connection:RemotingConnection):BooleanAdds a new RemotingConnection object with a single gateway url. If the single gateway url is already registered in the collector, the method returns false.
Parameters
gatewayUrl:String | |
connection:RemotingConnection |
Boolean — true if the connection can be registered with the single specific gateway's url.
|
| containsConnection | () | method |
public function containsConnection(gatewayUrl:String):BooleanIndicates if the collector contains the specific gatewayUrl.
Parameters
gatewayUrl:String |
Boolean — true if the specific gatewayUrl is already registered.
|
| getConnection | () | method |
public function getConnection(gatewayUrl:String):RemotingConnectionCreates the ObjectResource object with the specified generic object.
Parameters
gatewayUrl:String — The object definition to create an ObjectResource instance.
|
RemotingConnection |
| removeConnection | () | method |
public function removeConnection(gatewayUrl:String = null):BooleanRemoves the specific connection with the passed-in gateway url or all connections if the passed-in argument is null or empty.
Parameters
gatewayUrl:String (default = null) |
Boolean — true If the Object resource is removed.
|