Packagecom.flextoolbox.events
Classpublic class WireManagerEvent
InheritanceWireManagerEvent Inheritance flash.events.Event

Events that may be dispatched by an IWireManager.

See also

com.flextoolbox.managers.IWireManager


Public Properties
 PropertyDefined by
  endJack : WireJack
Another jack associated with the event.
WireManagerEvent
  startJack : WireJack
A jack associated with the event.
WireManagerEvent
Public Methods
 MethodDefined by
  
WireManagerEvent(type:String, startJack:WireJack, endJack:WireJack = null, cancelable:Boolean = false)
Constructor.
WireManagerEvent
Public Constants
 ConstantDefined by
  BEGIN_CONNECTION_REQUEST : String = "beginConnectionRequest"
[static] The WireManagerEvent.BEGIN_CONNECTION_REQUEST constant defines the value of the type property of a WireManagerEvent object for a beginConnectionRequest event, which indicates that a WireJack is attempting to connect to other compatible WireJack instances.
WireManagerEvent
  CREATE_CONNECTION : String = "createConnection"
[static] The WireManagerEvent.CREATE_CONNECTION constant defines the value of the type property of a WireManagerEvent object for a createConnection event, which indicates that two WireJack instances have connected.
WireManagerEvent
  CREATING_CONNECTION : String = "creatingConnection"
[static] The WireManagerEvent.CREATING_CONNECTION constant defines the value of the type property of a WireManagerEvent object for a creatingConnection event, which indicates that two WireJack instances will soon be connected.
WireManagerEvent
  DELETE_CONNECTION : String = "deleteConnection"
[static] The WireManagerEvent.DELETE_CONNECTION constant defines the value of the type property of a WireManagerEvent object for a deleteConnection event, which indicates that two WireJack instances have been disconnected.
WireManagerEvent
  END_CONNNECTION_REQUEST : String = "endConnectionRequest"
[static] The WireManagerEvent.END_CONNNECTION_REQUEST constant defines the value of the type property of a WireManagerEvent object for a endConnectionRequest event, which indicates that a WireJack is no longer attempting to connect to other compatible WireJack instances.
WireManagerEvent
Property detail
endJackproperty
public var endJack:WireJack

Another jack associated with the event.

startJackproperty 
public var startJack:WireJack

A jack associated with the event.

Constructor detail
WireManagerEvent()constructor
public function WireManagerEvent(type:String, startJack:WireJack, endJack:WireJack = null, cancelable:Boolean = false)

Constructor.

Parameters
type:String — The type of event.
 
startJack:WireJack — A jack associated with the event.
 
endJack:WireJack (default = null) — An optional second jack associated with the event.
 
cancelable:Boolean (default = false) — If true, this event may be cancelled.
Constant detail
BEGIN_CONNECTION_REQUESTconstant
public static const BEGIN_CONNECTION_REQUEST:String = "beginConnectionRequest"

The WireManagerEvent.BEGIN_CONNECTION_REQUEST constant defines the value of the type property of a WireManagerEvent object for a beginConnectionRequest event, which indicates that a WireJack is attempting to connect to other compatible WireJack instances.

CREATE_CONNECTIONconstant 
public static const CREATE_CONNECTION:String = "createConnection"

The WireManagerEvent.CREATE_CONNECTION constant defines the value of the type property of a WireManagerEvent object for a createConnection event, which indicates that two WireJack instances have connected.

CREATING_CONNECTIONconstant 
public static const CREATING_CONNECTION:String = "creatingConnection"

The WireManagerEvent.CREATING_CONNECTION constant defines the value of the type property of a WireManagerEvent object for a creatingConnection event, which indicates that two WireJack instances will soon be connected. This action may be cancelled.

DELETE_CONNECTIONconstant 
public static const DELETE_CONNECTION:String = "deleteConnection"

The WireManagerEvent.DELETE_CONNECTION constant defines the value of the type property of a WireManagerEvent object for a deleteConnection event, which indicates that two WireJack instances have been disconnected.

END_CONNNECTION_REQUESTconstant 
public static const END_CONNNECTION_REQUEST:String = "endConnectionRequest"

The WireManagerEvent.END_CONNNECTION_REQUEST constant defines the value of the type property of a WireManagerEvent object for a endConnectionRequest event, which indicates that a WireJack is no longer attempting to connect to other compatible WireJack instances.