LoggerConnection Class

Class com.blitzagency.xray.LoggerConnection

Inheritance > LoggerConnection

LoggerConnection extends LocalConnection and is responsible for logging communication with the interface. Since the amount of data transferred by the logger is much greater than the ControlConnection data, I needed to make 2 connections to split up the amount transferred.
Constructor Summary
  
Property Summary
 Function 
 Function 
 Boolean 
boolean value indicating if the connection was made successfully
 Function 
 private XrayTrace 
trace object for handling trace output back to the interface
Method Summary
 Boolean 
 allowDomain(sendingDomain:String)
 Void 
 getTraceValue(traceValue:String)
a request from the interface. This is when someone types in a trace command in the trace panel of the interface.
 Boolean 
makes the connection to listen on
 Void 
 onStatus(infoObject:Object)
 Void 
 setViewInfo(obj:Object)
setViewInfo is reponsible for sending all trace information back to the interface. it's called from the event dispatch of XrayTrace
Constructor Detail
LoggerConnection
function LoggerConnection()
Property Detail
addEventListener
var addEventListener:Function;
dispatchEvent
var dispatchEvent:Function;
isConnected
public var isConnected:Boolean;
removeEventListener
var removeEventListener:Function;
xrayTrace
private var xrayTrace:XrayTrace;
Method Detail
allowDomain
public function allowDomain(sendingDomain:String):Boolean
getTraceValue
public function getTraceValue(traceValue:String):Void
Parameters:
traceValue:String
Command to be traced
Returns:
initConnection
public function initConnection():Boolean
Returns:
Boolean. true if there's no other Fhash app using the LC name.
onStatus
public function onStatus(infoObject:Object):Void
setViewInfo
public function setViewInfo(obj:Object):Void
Parameters:
obj:Object
info = the actual data, last:Boolean of whether or not it's the last packet to be sent
Returns:
nothing



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