Class EOS_P2P_OnPeerConnectionEstablishedInfo

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

@FieldOrder({"ClientData","LocalUserId","RemoteUserId","SocketId","ConnectionType","NetworkType"}) public class EOS_P2P_OnPeerConnectionEstablishedInfo extends com.sun.jna.Structure
Structure containing information about a connection being established
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_AddNotifyPeerConnectionEstablished
    Information if this is a new connection or reconnection
    The Product User ID of the local user who is being notified of a connection being established
    What type of network connection is being used for this connection
    The Product User ID of the remote user who this connection was with
    The socket ID of the connection being established

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

    • ClientData

      public com.sun.jna.Pointer ClientData
      Client-specified data passed into EOS_P2P_AddNotifyPeerConnectionEstablished
    • LocalUserId

      public EOS_ProductUserId LocalUserId
      The Product User ID of the local user who is being notified of a connection being established
    • RemoteUserId

      public EOS_ProductUserId RemoteUserId
      The Product User ID of the remote user who this connection was with
    • SocketId

      The socket ID of the connection being established
    • ConnectionType

      public EOS_EConnectionEstablishedType ConnectionType
      Information if this is a new connection or reconnection
    • NetworkType

      public EOS_ENetworkConnectionType NetworkType
      What type of network connection is being used for this connection
  • Constructor Details

    • EOS_P2P_OnPeerConnectionEstablishedInfo

      public EOS_P2P_OnPeerConnectionEstablishedInfo()
    • EOS_P2P_OnPeerConnectionEstablishedInfo

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