|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--advancedrelay.laygo.StatusSummary
Status summary object for use by the StatusReport class.
Encapsulates the status summary structure defined in laygodef.h.
Constructor Summary | |
StatusSummary(byte[] data,
int n)
Constructs a StatusSummary from the data returned by the protocol stack. |
Method Summary | |
int |
getControlCount()
Returns the number of buffers in the control queue of the block. |
int |
getDownCount()
Returns the number of buffers in the down queue of the block. |
boolean |
getIsBlocked()
Returns the isBlocked flag of the block. |
boolean |
getIsBlocking()
Returns the isBlocking flag of the block. |
int |
getMajor()
Returns the major device id of the block. |
int |
getMinor()
Returns the minor device id of the block. |
int |
getProtocol()
Returns the protocol of the block. |
int |
getState()
Returns the state of the block. |
int |
getUpCount()
Returns the number of buffers in the up queue of the block. |
static int |
sizeOf()
Returns the number of bytes of data occupied by 1 summary. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StatusSummary(byte[] data, int n)
data
- The data returned by the protocol stack.n
- Starting index of the summary in the data.Method Detail |
public int getControlCount()
public int getDownCount()
public boolean getIsBlocked()
public boolean getIsBlocking()
public int getMajor()
public int getMinor()
public int getProtocol()
public int getState()
public int getUpCount()
public static int sizeOf()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |