Packagecom.sekati.thinkgear.core
Classpublic final class ThinkGearConnector
InheritanceThinkGearConnector Inheritance flash.events.EventDispatcher

ThinkGearConnector provides a singleton wrapper to wind-up the ThinkGearSocket and ThinkGearReader. This class should not be confused with the "TGC" (ThinkGear Connector) binary application which catches data and passes it to the socket - though this does ultimately the same thing on the actionscript end of things.



Public Properties
 PropertyDefined by
  $ : ThinkGearConnector
[static][read-only] Shorthand singleton accessor getter
ThinkGearConnector
  debugMode : Boolean
Debug mode gives verbose logger output.
ThinkGearConnector
  reader : ThinkGearReader
[read-only] The ThinkGearReader.
ThinkGearConnector
  socket : ThinkGearSocket
[read-only] The ThinkGearSocket.
ThinkGearConnector
Public Methods
 MethodDefined by
  
ThinkGearConnector($:SingletonEnforcer = null)
ThinkGearConnector Singleton Constructor
ThinkGearConnector
  
[static] Singleton Accessor
ThinkGearConnector
  
initialize():void
Initialize the ThinkGearConnector.
ThinkGearConnector
Property detail
$property
$:ThinkGearConnector  [read-only]

Shorthand singleton accessor getter

Implementation
    public static function get $():ThinkGearConnector
debugModeproperty 
debugMode:Boolean  [read-write]

Debug mode gives verbose logger output.

Implementation
    public function get debugMode():Boolean
    public function set debugMode(value:Boolean):void
readerproperty 
reader:ThinkGearReader  [read-only]

The ThinkGearReader.

Implementation
    public function get reader():ThinkGearReader
socketproperty 
socket:ThinkGearSocket  [read-only]

The ThinkGearSocket.

Implementation
    public function get socket():ThinkGearSocket
Constructor detail
ThinkGearConnector()constructor
public function ThinkGearConnector($:SingletonEnforcer = null)

ThinkGearConnector Singleton Constructor

Parameters
$:SingletonEnforcer (default = null) — SingletonEnforcer - internal to the AS file; the param prevents external instantiation without error.
Method detail
getInstance()method
public static function getInstance():ThinkGearConnector

Singleton Accessor

Returns
ThinkGearConnector — ThinkGearConnector
initialize()method 
public function initialize():void

Initialize the ThinkGearConnector.