|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--JSPservletPkg.ICPhandler.IcpHeader
ICP header.
Field Summary | |
(package private) byte[] |
flags
flags - options in RFC 2186 - u_num32 in C. |
(package private) byte[] |
ID
Identifier of requester. |
(package private) long |
lastModified
Timestamp. |
(package private) short |
length
total length (bytes) - unsigned in C. |
(package private) byte |
opcode
opcode - unsigned in C. |
(package private) byte[] |
pad
pad - option data in RFC 2186 - u_num32 in C. |
(package private) byte[] |
payload
payload. |
(package private) int |
reqnum
req number (req'd for UDP) - u_num32 in C. |
(package private) byte[] |
shostid
sender host id - u_num32 in C. |
(package private) byte |
version
version number - unsigned in C. |
Constructor Summary | |
(package private) |
ICPhandler.IcpHeader(byte[] msg)
Constructor. |
(package private) |
ICPhandler.IcpHeader(byte[] hostid,
byte code,
byte[] pl,
byte[] ID)
Constructor. |
(package private) |
ICPhandler.IcpHeader(byte[] hostid,
byte code,
byte[] pl,
byte[] ID,
int seqnum,
long lastModified)
Constructor. |
Method Summary | |
(package private) byte[] |
getBytes()
Returns serialized flow. |
(package private) int |
length()
Returns serialized length. |
Methods inherited from class java.lang.Object |
|
Field Detail |
byte opcode
byte version
short length
int reqnum
byte[] flags
byte[] pad
byte[] shostid
long lastModified
byte[] ID
byte[] payload
Constructor Detail |
ICPhandler.IcpHeader(byte[] hostid, byte code, byte[] pl, byte[] ID, int seqnum, long lastModified)
hostid
- sender host ID.code
- OP code.pl
- payload.ID
- ID of requester. Can be handler.ID or handler.ID/jarName.seqnum
- request number to use.lastModified
- last modification time.ICPhandler.IcpHeader(byte[] hostid, byte code, byte[] pl, byte[] ID)
hostid
- sender host ID.code
- OP code.pl
- payload.ID
- ID of requester. Can be handler.ID or handler.ID/jarName.ICPhandler.IcpHeader(byte[] msg)
msg
- buffer.Method Detail |
int length()
byte[] getBytes()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |