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 SummaryNested classes/interfaces inherited from class com.sun.jna.StructureStructure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField
- 
Field SummaryFieldsModifier 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.StructureALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
- 
Constructor SummaryConstructors
- 
Method SummaryMethods 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 Details- 
dwSizepublic int dwSizeSpecifies the version of the structure. Set this member to sizeof(RAS_STATS) before using the structure in a function call.
- 
dwBytesXmitedpublic int dwBytesXmitedThe number of bytes transmitted through this connection or link.
- 
dwBytesRcvedpublic int dwBytesRcvedThe number of bytes received through this connection or link.
- 
dwFramesXmitedpublic int dwFramesXmitedThe number frames transmitted through this connection or link.
- 
dwFramesRcvedpublic int dwFramesRcvedThe number of frames received through this connection or link.
- 
dwCrcErrpublic int dwCrcErrThe number of cyclic redundancy check (CRC) errors on this connection or link.
- 
dwTimeoutErrpublic int dwTimeoutErrThe number of timeout errors on this connection or link.
- 
dwAlignmentErrpublic int dwAlignmentErrThe number of alignment errors on this connection or link.
- 
dwHardwareOverrunErrpublic int dwHardwareOverrunErrThe number of hardware overrun errors on this connection or link.
- 
dwFramingErrpublic int dwFramingErrThe number of framing errors on this connection or link.
- 
dwBufferOverrunErrpublic int dwBufferOverrunErrThe number of buffer overrun errors on this connection or link.
- 
dwCompressionRatioInpublic int dwCompressionRatioInThe compression ratio for the data being received on this connection or link.
- 
dwCompressionRatioOutpublic int dwCompressionRatioOutThe compression ratio for the data being transmitted on this connection or link.
- 
dwBpspublic int dwBpsThe speed of the connection or link, in bits per second.
- 
dwConnectDurationpublic int dwConnectDurationThe amount of time, in milliseconds, that the connection or link has been connected.
 
- 
- 
Constructor Details- 
RAS_STATSpublic RAS_STATS()
- 
RAS_STATS
 
-