goog.gears.WorkerPool.Event
Classgoog.gears.WorkerPool.Event
> goog.events.Event
goog.gears.WorkerPool.Event(type, senderId, messageObject)
Event used when the workerpool recieves a message
type
{string
}
senderId
{number
}
messageObject
{GearsMessageObject
}
.defaultPrevented
{boolean
}Inherited from goog.events.Event
.
Whether the default action has been prevented. This is a property to match the W3C specification at {@link http://www.w3.org/TR/DOM-Level-3-Events/#events-event-type-defaultPrevented}. Must be treated as read-only outside the class.
.dispose()
[deprecated]Deprecated. Events don't need to be disposed.
Inherited from goog.events.Event
.
For backwards compatibility (goog.events.Event used to inherit goog.Disposable).
.disposeInternal()
[deprecated]Deprecated. Events don't need to be disposed.
Inherited from goog.events.Event
.
For backwards compatibility (goog.events.Event used to inherit goog.Disposable).
.message
{*}The message sent from the worker. This is the same as the messageObject.body field and is here for convenience.
.messageObject
{GearsMessageObject
}The object containing all information about the message.
.preventDefault()
Inherited from goog.events.Event
.
Prevents the default action, for example a link redirecting to a url.
.propagationStopped_
{boolean
}Inherited from goog.events.Event
.
Whether to cancel the event in internal capture/bubble processing for IE.
.returnValue_
{boolean
}Inherited from goog.events.Event
.
Return value for in internal capture/bubble processing for IE.
.senderId
{number
}The id of the sender of the message.
.stopPropagation()
Inherited from goog.events.Event
.
Stops event propagation.