goog.labs.net.webChannel.requestStats
Functions
getStatEventTarget() → goog.events.EventTarget
goog.events.EventTarget
Returns the singleton event target for stat events.
Parameters | None. | ||
---|---|---|---|
Returns |
|
notifyServerReachabilityEvent( reachabilityType ) → void
void
Notify the channel that a particular fine grained network event has occurred. Should be considered package-private.
Parameters |
|
---|
notifyStatEvent( stat ) → void
void
Helper function to call the stat event callback.
Parameters |
|
---|
notifyTimingEvent( size, rtt, retries ) → void
void
onEndExecution() → void
void
Helper function to call the end hook
onStartExecution() → void
void
Helper function to call the start hook
setEndThreadExecutionHook( endHook ) → void
void
Allows the application to set an execution hooks for when a channel stops processing requests. This is useful to track timing or logging special information. The function takes no parameters and return void.
Parameters |
|
---|
setStartThreadExecutionHook( startHook ) → void
void
Allows the application to set an execution hooks for when a channel starts processing requests. This is useful to track timing or logging special information. The function takes no parameters and return void.
Parameters |
|
---|
setTimeout( fn, ms ) → number
number