Class EOS_P2P_OnQueryNATTypeCompleteInfo
java.lang.Object
com.sun.jna.Structure
host.anzo.eossdk.eos.sdk.p2p.callbackresults.EOS_P2P_OnQueryNATTypeCompleteInfo
- Direct Known Subclasses:
EOS_P2P_OnQueryNATTypeCompleteInfo.ByReference,EOS_P2P_OnQueryNATTypeCompleteInfo.ByValue
@FieldOrder({"ResultCode","ClientData","NATType"})
public class EOS_P2P_OnQueryNATTypeCompleteInfo
extends com.sun.jna.Structure
Structure containing information about the local network NAT type
- Since:
- 8/22/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 TypeFieldDescriptioncom.sun.jna.PointerClient-specified data passed into EOS_P2P_QueryNATTypeThe queried NAT typeResult code for the operation.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
-
ResultCode
Result code for the operation. EOS_Success is returned for a successful query, other codes indicate an error -
ClientData
public com.sun.jna.Pointer ClientDataClient-specified data passed into EOS_P2P_QueryNATType -
NATType
The queried NAT type
-
-
Constructor Details
-
EOS_P2P_OnQueryNATTypeCompleteInfo
public EOS_P2P_OnQueryNATTypeCompleteInfo() -
EOS_P2P_OnQueryNATTypeCompleteInfo
public EOS_P2P_OnQueryNATTypeCompleteInfo(com.sun.jna.Pointer peer)
-