Package host.anzo.eossdk.eos.sdk.p2p
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 ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField -
Field Summary
FieldsModifier and TypeFieldDescriptionlongThe current number of queued packets in the incoming packet queuelongThe current size in bytes of the incoming packet queuelongThe maximum size in bytes of the incoming packet queuelongThe current amount of queued packets in the outgoing packet queuelongThe current size in bytes of the outgoing packet queuelongThe maximum size in bytes of the outgoing packet queueFields 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
-
IncomingPacketQueueMaxSizeBytes
public long IncomingPacketQueueMaxSizeBytesThe maximum size in bytes of the incoming packet queue -
IncomingPacketQueueCurrentSizeBytes
public long IncomingPacketQueueCurrentSizeBytesThe current size in bytes of the incoming packet queue -
IncomingPacketQueueCurrentPacketCount
public long IncomingPacketQueueCurrentPacketCountThe current number of queued packets in the incoming packet queue -
OutgoingPacketQueueMaxSizeBytes
public long OutgoingPacketQueueMaxSizeBytesThe maximum size in bytes of the outgoing packet queue -
OutgoingPacketQueueCurrentSizeBytes
public long OutgoingPacketQueueCurrentSizeBytesThe current size in bytes of the outgoing packet queue -
OutgoingPacketQueueCurrentPacketCount
public long OutgoingPacketQueueCurrentPacketCountThe 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)
-