Class EOS_P2P_PacketQueueInfo

java.lang.Object
com.sun.jna.Structure
host.anzo.eossdk.eos.sdk.p2p.EOS_P2P_PacketQueueInfo
Direct Known Subclasses:
EOS_P2P_PacketQueueInfo.ByReference, EOS_P2P_PacketQueueInfo.ByValue

@FieldOrder({"IncomingPacketQueueMaxSizeBytes","IncomingPacketQueueCurrentSizeBytes","IncomingPacketQueueCurrentPacketCount","OutgoingPacketQueueMaxSizeBytes","OutgoingPacketQueueCurrentSizeBytes","OutgoingPacketQueueCurrentPacketCount"}) public class EOS_P2P_PacketQueueInfo extends com.sun.jna.Structure
Information related to the current state of the packet queues. It is possible for the current size to be larger than the maximum size if the maximum size changes or if the maximum queue size is set to EOS_P2P_MAX_QUEUE_SIZE_UNLIMITED.
Since:
8/21/2023
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     

    Nested classes/interfaces inherited from class com.sun.jna.Structure

    com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    long
    The current number of queued packets in the incoming packet queue
    long
    The current size in bytes of the incoming packet queue
    long
    The maximum size in bytes of the incoming packet queue
    long
    The current amount of queued packets in the outgoing packet queue
    long
    The current size in bytes of the outgoing packet queue
    long
    The maximum size in bytes of the outgoing packet queue

    Fields inherited from class com.sun.jna.Structure

    ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    EOS_P2P_PacketQueueInfo(com.sun.jna.Pointer peer)
     
  • 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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • IncomingPacketQueueMaxSizeBytes

      public long IncomingPacketQueueMaxSizeBytes
      The maximum size in bytes of the incoming packet queue
    • IncomingPacketQueueCurrentSizeBytes

      public long IncomingPacketQueueCurrentSizeBytes
      The current size in bytes of the incoming packet queue
    • IncomingPacketQueueCurrentPacketCount

      public long IncomingPacketQueueCurrentPacketCount
      The current number of queued packets in the incoming packet queue
    • OutgoingPacketQueueMaxSizeBytes

      public long OutgoingPacketQueueMaxSizeBytes
      The maximum size in bytes of the outgoing packet queue
    • OutgoingPacketQueueCurrentSizeBytes

      public long OutgoingPacketQueueCurrentSizeBytes
      The current size in bytes of the outgoing packet queue
    • OutgoingPacketQueueCurrentPacketCount

      public long OutgoingPacketQueueCurrentPacketCount
      The current amount of queued packets in the outgoing packet queue
  • Constructor Details

    • EOS_P2P_PacketQueueInfo

      public EOS_P2P_PacketQueueInfo()
    • EOS_P2P_PacketQueueInfo

      public EOS_P2P_PacketQueueInfo(com.sun.jna.Pointer peer)