Packageorg.spicefactory.parsley.rpc.cinnamon.config
Classpublic class ChannelTag
InheritanceChannelTag Inheritance Object
Subclasses MxmlChannelTag

Represents the Channel MXML or XML tag, defining the configuration for a Cinnamon ServiceChannel.



Public Properties
 PropertyDefined By
  id : String
The id that the channel will be registered with in the Parsley IOC Container.
ChannelTag
  timeout : uint
The request timeout in milliseconds.
ChannelTag
  type : Class
The type (class) of the channel, defaults to NetConnectionServiceChannel.
ChannelTag
  url : String
The URL that the channel should connect to.
ChannelTag
Public Methods
 MethodDefined By
  
createChannel():ServiceChannel
Creates the ServiceChannel instance based on the property values of this tag instance.
ChannelTag
Property Detail
idproperty
public var id:String

The id that the channel will be registered with in the Parsley IOC Container. Usually no need to be specified explicitly.

timeoutproperty 
public var timeout:uint

The request timeout in milliseconds.

typeproperty 
public var type:Class

The type (class) of the channel, defaults to NetConnectionServiceChannel.

urlproperty 
public var url:String

The URL that the channel should connect to.

Method Detail
createChannel()method
public function createChannel():ServiceChannel

Creates the ServiceChannel instance based on the property values of this tag instance.

Returns
ServiceChannel — a new ServiceChannel instance, fully configured