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.StructureStructure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField
 
- 
 - 
Field SummaryFields Modifier and Type Field Description intdwAlignmentErrThe number of alignment errors on this connection or link.intdwBpsThe speed of the connection or link, in bits per second.intdwBufferOverrunErrThe number of buffer overrun errors on this connection or link.intdwBytesRcvedThe number of bytes received through this connection or link.intdwBytesXmitedThe number of bytes transmitted through this connection or link.intdwCompressionRatioInThe compression ratio for the data being received on this connection or link.intdwCompressionRatioOutThe compression ratio for the data being transmitted on this connection or link.intdwConnectDurationThe amount of time, in milliseconds, that the connection or link has been connected.intdwCrcErrThe number of cyclic redundancy check (CRC) errors on this connection or link.intdwFramesRcvedThe number of frames received through this connection or link.intdwFramesXmitedThe number frames transmitted through this connection or link.intdwFramingErrThe number of framing errors on this connection or link.intdwHardwareOverrunErrThe number of hardware overrun errors on this connection or link.intdwSizeSpecifies the version of the structure.intdwTimeoutErrThe number of timeout errors on this connection or link.- 
Fields inherited from class com.sun.jna.StructureALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
- 
 - 
Method Summary- 
Methods inherited from class com.sun.jna.StructureallocateMemory, 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 Detail- 
dwSizepublic int dwSize Specifies the version of the structure. Set this member to sizeof(RAS_STATS) before using the structure in a function call.
 - 
dwBytesXmitedpublic int dwBytesXmited The number of bytes transmitted through this connection or link.
 - 
dwBytesRcvedpublic int dwBytesRcved The number of bytes received through this connection or link.
 - 
dwFramesXmitedpublic int dwFramesXmited The number frames transmitted through this connection or link.
 - 
dwFramesRcvedpublic int dwFramesRcved The number of frames received through this connection or link.
 - 
dwCrcErrpublic int dwCrcErr The number of cyclic redundancy check (CRC) errors on this connection or link.
 - 
dwTimeoutErrpublic int dwTimeoutErr The number of timeout errors on this connection or link.
 - 
dwAlignmentErrpublic int dwAlignmentErr The number of alignment errors on this connection or link.
 - 
dwHardwareOverrunErrpublic int dwHardwareOverrunErr The number of hardware overrun errors on this connection or link.
 - 
dwFramingErrpublic int dwFramingErr The number of framing errors on this connection or link.
 - 
dwBufferOverrunErrpublic int dwBufferOverrunErr The number of buffer overrun errors on this connection or link.
 - 
dwCompressionRatioInpublic int dwCompressionRatioIn The compression ratio for the data being received on this connection or link.
 - 
dwCompressionRatioOutpublic int dwCompressionRatioOut The compression ratio for the data being transmitted on this connection or link.
 - 
dwBpspublic int dwBps The speed of the connection or link, in bits per second.
 - 
dwConnectDurationpublic int dwConnectDuration The amount of time, in milliseconds, that the connection or link has been connected.
 
- 
 - 
Constructor Detail- 
RAS_STATSpublic RAS_STATS() 
 - 
RAS_STATSpublic RAS_STATS(Pointer memory) 
 
- 
 
-