public abstract class Page_0FormatModePage extends ModePage
pageLength| Constructor and Description |
|---|
Page_0FormatModePage(boolean parametersSaveable,
int pageCode,
int pageLength)
The abstract constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
serializePageLength(ByteBuffer buffer,
int index)
Serializes the PAGE LENGTH field.
|
protected void |
serializeSubPageCode(ByteBuffer buffer,
int index)
This method serializes the SUBPAGE CODE field, if the mode page format says this field exists (only for the
sub_page mode page format).
|
serialize, serializeModeParameters, sizepublic Page_0FormatModePage(boolean parametersSaveable,
int pageCode,
int pageLength)
parametersSaveable - the value of the PARAMETERS SAVEABLE bitpageCode - determines the kind of information contained in the MODE PAGEpageLength - the value of the PAGE LENGTH fieldprotected final void serializePageLength(ByteBuffer buffer, int index)
ModePageserializePageLength in class ModePagebuffer - where to insert the serialized object representationindex - the position of the first byte of the serialized object in the ByteBufferprotected final void serializeSubPageCode(ByteBuffer buffer, int index)
ModePageserializeSubPageCode in class ModePagebuffer - where to insert the serialized object representationindex - the position of the first byte of the serialized object in the ByteBufferCopyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.