Child pages
  • JSPacket

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Hidden
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
		THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE


HTML Table
idclassservoy sSummary
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Property Summary
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#index
Returns the current position in the byte array of the packet.

id
HTML Table
classservoy sSummary
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Method Summary
Table Body (tbody)
Table Row (tr)
Table Cell (td)
byte[]
Table Cell (td)
#getByteArray()
Returns the content of the package into a byte array.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#getHost()
Returns the name of the host that sent the packet.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getLength()
Returns the length of the packet in bytes.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getPort()
Returns the port where the packet originated from.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#readByte()
Reads an 8 bits byte value from the packet, starting from the current index.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#readInt()
Reads a 32 bits int value from the packet, starting from the current index.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#readShort()
Reads a 32 bits short value from the packet, starting from the current index.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#readUTF([length])
Reads a UTF string from the packet, starting from the current index.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#writeByte(number)
Writes one byte into the packet, at the current index.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#writeBytes(array)
Writes an array of bytes into the packet, at the current index.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#writeInt(number)
Writes a 32 bits int into the packet, at the current index.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#writeShort(number)
Writes a 16 bits short value into the packet, at the current index.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#writeUTF(string)
Writes an UTF encoded string into the packet, at the current index.

...