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.
| 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 | |
| Void | 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 | |
| Void | setViewInfo is reponsible for sending all trace information back to the interface. it's
called from the event dispatch of XrayTrace |
LoggerConnection
function LoggerConnection()
addEventListener
var addEventListener:Function;
dispatchEvent
var dispatchEvent:Function;
isConnected
public var isConnected:Boolean;
removeEventListener
var removeEventListener:Function;
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.