Class EOS_P2P_ReceivePacketOptions
java.lang.Object
com.sun.jna.Structure
host.anzo.eossdk.eos.sdk.p2p.options.EOS_P2P_ReceivePacketOptions
- Direct Known Subclasses:
EOS_P2P_ReceivePacketOptions.ByReference,EOS_P2P_ReceivePacketOptions.ByValue
@FieldOrder({"ApiVersion","LocalUserId","MaxDataSizeBytes","RequestedChannel"})
public class EOS_P2P_ReceivePacketOptions
extends com.sun.jna.Structure
Structure containing information about who would like to receive a packet, and how much data can be stored safely.
- 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 TypeFieldDescriptionintAPI Version: Set this to EOS_P2P_RECEIVEPACKET_API_LATEST.static final intThe most recent version of the EOS_P2P_ReceivePacket API.The Product User ID of the user who is receiving the packetintThe maximum amount of data in bytes that can be safely copied to OutData in the function callcom.sun.jna.ptr.ByteByReferenceAn optional channel to request the data for.Fields 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
-
EOS_P2P_RECEIVEPACKET_API_LATEST
public static final int EOS_P2P_RECEIVEPACKET_API_LATESTThe most recent version of the EOS_P2P_ReceivePacket API.- See Also:
-
ApiVersion
public int ApiVersionAPI Version: Set this to EOS_P2P_RECEIVEPACKET_API_LATEST. -
LocalUserId
The Product User ID of the user who is receiving the packet -
MaxDataSizeBytes
public int MaxDataSizeBytesThe maximum amount of data in bytes that can be safely copied to OutData in the function call -
RequestedChannel
public com.sun.jna.ptr.ByteByReference RequestedChannelAn optional channel to request the data for. If NULL, we're retrieving the next packet on any channel
-
-
Constructor Details
-
EOS_P2P_ReceivePacketOptions
public EOS_P2P_ReceivePacketOptions() -
EOS_P2P_ReceivePacketOptions
public EOS_P2P_ReceivePacketOptions(com.sun.jna.Pointer peer)
-