|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.neeve.util.UtlListElement
com.neeve.pkt.PktSerializable
com.neeve.pkt.PktBody
com.neeve.pkt.PktBodyFixed
public abstract class PktBodyFixed
Base class for packet bodies of fixed length.
This class represents a fixed length packet body. Packet bodies that have fixed length content should extend from this class. When created, this class instantiates and stores a buffer to store the body contents. This buffer is of a fixed length equal to the total (fixed) length of the body contents. The packet body implementation should index the individual elements of the body into this buffer and use absolute setter and getter methods to set and get body element values.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.neeve.pkt.PktSerializable |
---|
PktSerializable.DeserializeContext, PktSerializable.SerializeContext |
Field Summary |
---|
Fields inherited from class com.neeve.util.UtlListElement |
---|
count, head, next, prev |
Method Summary | |
---|---|
int |
doGetSerializedLength()
Implementation of PktBody.doGetSerializedLength()
This method returns the fixed length of the body contents. |
Methods inherited from class com.neeve.pkt.PktBody |
---|
deserialize, getBuffer, getSerializedLength, getType, initializeBuffer, isNative, reset, serialize |
Methods inherited from class com.neeve.pkt.PktSerializable |
---|
deserialize, getDeserializationPolicy, getSerializationPolicy, isValidDeserializationPolicy, isValidSerializationPolicy, serialize, setDeserializationPolicy, setSerializationPolicy |
Methods inherited from class com.neeve.util.UtlListElement |
---|
count, insertAfter, insertBefore, isLinked, next, previous, unlink, wipe |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public final int doGetSerializedLength()
PktBody.doGetSerializedLength()
This method returns the fixed length of the body contents.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |