Built-In Namespace _global_
| Field Attributes | Field Name and Description |
|---|---|
|
Crossfire
Firebug extension to add support for remote debug protocol.
|
|
|
The prototype object for all other packet types.
|
| Method Attributes | Method Name and Description |
|---|---|
|
EventPacket(event, data)
Creates a new Event Packet object.
|
|
|
RequestPacket(packetString)
Creates a Request Packet object.
|
|
|
ResponsePacket(command, requestSeq, body, running, success)
Creates a new Response Packet object.
|
Field Detail
CROSSFIRE_VERSION
Crossfire
Firebug extension to add support for remote debug protocol.
Defined in: crossfire.js.
Defined in: crossfire.js.
Packet
The prototype object for all other packet types.
Handles parsing packet strings and JSON, and generating sequence numbers.
Defined in: Packet.js.
Defined in: Packet.js.
Method Detail
EventPacket(event, data)
Creates a new Event Packet object.
Defined in: Packet.js.
Defined in: Packet.js.
- Parameters:
- event
- name of the event.
- data
- JSON object containing additional arguments for the event.
RequestPacket(packetString)
Creates a Request Packet object.
Defined in: Packet.js.
Defined in: Packet.js.
- Parameters:
- packetString
- The unprocessed UTF-8 packet string.
ResponsePacket(command, requestSeq, body, running, success)
Creates a new Response Packet object.
Defined in: Packet.js.
Defined in: Packet.js.
- Parameters:
- command
- The name of the command that requested the response.
- requestSeq
- The sequence number of the request that initiated this response.
- body
- The JSON body of the response.
- running
- boolean indicating whether the context is still running after the command.
- success
- boolean indicating whether the command was successful.