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 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
    com.sun.jna.Pointer
    Client-specified data passed into EOS_P2P_QueryNATType
    The queried NAT type
    Result 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
    Constructor
    Description
     
    EOS_P2P_OnQueryNATTypeCompleteInfo(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

    • ResultCode

      public EOS_EResult 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 ClientData
      Client-specified data passed into EOS_P2P_QueryNATType
    • NATType

      public EOS_ENATType 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)