Class EOS_P2P_AcceptConnectionOptions

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

@FieldOrder({"ApiVersion","LocalUserId","RemoteUserId","SocketId"}) public class EOS_P2P_AcceptConnectionOptions extends com.sun.jna.Structure
Structure containing information about who would like to accept a connection, and which connection.
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
    int
    API Version: Set this to EOS_P2P_ACCEPTCONNECTION_API_LATEST.
    static final int
    The most recent version of the EOS_P2P_AcceptConnection API.
    The Product User ID of the local user who is accepting any pending or future connections with RemoteUserId
    The Product User ID of the remote user who has either sent a connection request or is expected to in the future
    The socket ID of the connection to accept on

    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_AcceptConnectionOptions(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

    • EOS_P2P_ACCEPTCONNECTION_API_LATEST

      public static final int EOS_P2P_ACCEPTCONNECTION_API_LATEST
      The most recent version of the EOS_P2P_AcceptConnection API.
      See Also:
    • ApiVersion

      public int ApiVersion
      API Version: Set this to EOS_P2P_ACCEPTCONNECTION_API_LATEST.
    • LocalUserId

      public EOS_ProductUserId LocalUserId
      The Product User ID of the local user who is accepting any pending or future connections with RemoteUserId
    • RemoteUserId

      public EOS_ProductUserId RemoteUserId
      The Product User ID of the remote user who has either sent a connection request or is expected to in the future
    • SocketId

      The socket ID of the connection to accept on
  • Constructor Details

    • EOS_P2P_AcceptConnectionOptions

      public EOS_P2P_AcceptConnectionOptions()
    • EOS_P2P_AcceptConnectionOptions

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