Skip navigation links
JNA API 4.2.1
com.sun.jna.platform.win32

Class WinRas.RAS_STATS

  • Enclosing interface:
    WinRas


    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.
    • Field Detail

      • dwSize

        public int dwSize
        Specifies the version of the structure. Set this member to sizeof(RAS_STATS) before using the structure in a function call.
      • dwBytesXmited

        public int dwBytesXmited
        The number of bytes transmitted through this connection or link.
      • dwBytesRcved

        public int dwBytesRcved
        The number of bytes received through this connection or link.
      • dwFramesXmited

        public int dwFramesXmited
        The number frames transmitted through this connection or link.
      • dwFramesRcved

        public int dwFramesRcved
        The number of frames received through this connection or link.
      • dwCrcErr

        public int dwCrcErr
        The number of cyclic redundancy check (CRC) errors on this connection or link.
      • dwTimeoutErr

        public int dwTimeoutErr
        The number of timeout errors on this connection or link.
      • dwAlignmentErr

        public int dwAlignmentErr
        The number of alignment errors on this connection or link.
      • dwHardwareOverrunErr

        public int dwHardwareOverrunErr
        The number of hardware overrun errors on this connection or link.
      • dwFramingErr

        public int dwFramingErr
        The number of framing errors on this connection or link.
      • dwBufferOverrunErr

        public int dwBufferOverrunErr
        The number of buffer overrun errors on this connection or link.
      • dwCompressionRatioIn

        public int dwCompressionRatioIn
        The compression ratio for the data being received on this connection or link.
      • dwCompressionRatioOut

        public int dwCompressionRatioOut
        The compression ratio for the data being transmitted on this connection or link.
      • dwBps

        public int dwBps
        The speed of the connection or link, in bits per second.
      • dwConnectDuration

        public int dwConnectDuration
        The amount of time, in milliseconds, that the connection or link has been connected.
    • Constructor Detail

      • RAS_STATS

        public RAS_STATS()
      • RAS_STATS

        public RAS_STATS(Pointer memory)
    • Method Detail

      • getFieldOrder

        protected List getFieldOrder()
        Description copied from class: Structure
        Return this Structure's field names in their proper order. For example,
        
         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.
        Specified by:
        getFieldOrder in class Structure
        Returns:
        ordered list of field names
JNA API 4.2.1

Copyright © 2007-2015 Timothy Wall. All Rights Reserved.