Structure.ByReference, Structure.ByValue, Structure.StructField
Modifier and Type | Field and Description |
---|---|
int |
dwAlignmentErr
The number of alignment errors on this connection or link.
|
int |
dwBps
The speed of the connection or link, in bits per second.
|
int |
dwBufferOverrunErr
The number of buffer overrun errors on this connection or link.
|
int |
dwBytesRcved
The number of bytes received through this connection or link.
|
int |
dwBytesXmited
The number of bytes transmitted through this connection or link.
|
int |
dwCompressionRatioIn
The compression ratio for the data being received on this connection or link.
|
int |
dwCompressionRatioOut
The compression ratio for the data being transmitted on this connection or link.
|
int |
dwConnectDuration
The amount of time, in milliseconds, that the connection or link has been connected.
|
int |
dwCrcErr
The number of cyclic redundancy check (CRC) errors on this connection or link.
|
int |
dwFramesRcved
The number of frames received through this connection or link.
|
int |
dwFramesXmited
The number frames transmitted through this connection or link.
|
int |
dwFramingErr
The number of framing errors on this connection or link.
|
int |
dwHardwareOverrunErr
The number of hardware overrun errors on this connection or link.
|
int |
dwSize
Specifies the version of the structure.
|
int |
dwTimeoutErr
The number of timeout errors on this connection or link.
|
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Modifier and Type | Method and Description |
---|---|
protected List |
getFieldOrder()
Return this Structure's field names in their proper order.
|
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
public int dwSize
public int dwBytesXmited
public int dwBytesRcved
public int dwFramesXmited
public int dwFramesRcved
public int dwCrcErr
public int dwTimeoutErr
public int dwAlignmentErr
public int dwHardwareOverrunErr
public int dwFramingErr
public int dwBufferOverrunErr
public int dwCompressionRatioIn
public int dwCompressionRatioOut
public int dwBps
public int dwConnectDuration
public RAS_STATS()
public RAS_STATS(Pointer memory)
protected List getFieldOrder()
Structure
protected List getFieldOrder() {
return Arrays.asList(new String[] { ... });
}
IMPORTANT
When deriving from an existing Structure subclass, ensure that
you augment the list provided by the superclass, e.g.
protected List getFieldOrder() {
List fields = new ArrayList(super.getFieldOrder());
fields.addAll(Arrays.asList(new String[] { ... }));
return fields;
}
Field order must be explicitly indicated, since the
field order as returned by Class.getFields()
is not
guaranteed to be predictable.getFieldOrder
in class Structure