Package com.sun.jna.platform.win32
Class WinRas.RAS_STATS
java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.win32.WinRas.RAS_STATS
- Enclosing interface:
- WinRas
@FieldOrder({"dwSize","dwBytesXmited","dwBytesRcved","dwFramesXmited","dwFramesRcved","dwCrcErr","dwTimeoutErr","dwAlignmentErr","dwHardwareOverrunErr","dwFramingErr","dwBufferOverrunErr","dwCompressionRatioIn","dwCompressionRatioOut","dwBps","dwConnectDuration"})
public static class WinRas.RAS_STATS
extends Structure
The RAS_STATS structure stores the statistics for a single-link RAS
connection, or for one of the links in a multilink RAS connection.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sun.jna.Structure
Structure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField -
Field Summary
FieldsModifier and TypeFieldDescriptionintThe number of alignment errors on this connection or link.intThe speed of the connection or link, in bits per second.intThe number of buffer overrun errors on this connection or link.intThe number of bytes received through this connection or link.intThe number of bytes transmitted through this connection or link.intThe compression ratio for the data being received on this connection or link.intThe compression ratio for the data being transmitted on this connection or link.intThe amount of time, in milliseconds, that the connection or link has been connected.intThe number of cyclic redundancy check (CRC) errors on this connection or link.intThe number of frames received through this connection or link.intThe number frames transmitted through this connection or link.intThe number of framing errors on this connection or link.intThe number of hardware overrun errors on this connection or link.intSpecifies the version of the structure.intThe number of timeout errors on this connection or link.Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
Field Details
-
dwSize
public int dwSizeSpecifies the version of the structure. Set this member to sizeof(RAS_STATS) before using the structure in a function call. -
dwBytesXmited
public int dwBytesXmitedThe number of bytes transmitted through this connection or link. -
dwBytesRcved
public int dwBytesRcvedThe number of bytes received through this connection or link. -
dwFramesXmited
public int dwFramesXmitedThe number frames transmitted through this connection or link. -
dwFramesRcved
public int dwFramesRcvedThe number of frames received through this connection or link. -
dwCrcErr
public int dwCrcErrThe number of cyclic redundancy check (CRC) errors on this connection or link. -
dwTimeoutErr
public int dwTimeoutErrThe number of timeout errors on this connection or link. -
dwAlignmentErr
public int dwAlignmentErrThe number of alignment errors on this connection or link. -
dwHardwareOverrunErr
public int dwHardwareOverrunErrThe number of hardware overrun errors on this connection or link. -
dwFramingErr
public int dwFramingErrThe number of framing errors on this connection or link. -
dwBufferOverrunErr
public int dwBufferOverrunErrThe number of buffer overrun errors on this connection or link. -
dwCompressionRatioIn
public int dwCompressionRatioInThe compression ratio for the data being received on this connection or link. -
dwCompressionRatioOut
public int dwCompressionRatioOutThe compression ratio for the data being transmitted on this connection or link. -
dwBps
public int dwBpsThe speed of the connection or link, in bits per second. -
dwConnectDuration
public int dwConnectDurationThe amount of time, in milliseconds, that the connection or link has been connected.
-
-
Constructor Details
-
RAS_STATS
public RAS_STATS() -
RAS_STATS
-