Class EOS_P2P_CloseConnectionOptions
java.lang.Object
com.sun.jna.Structure
host.anzo.eossdk.eos.sdk.p2p.options.EOS_P2P_CloseConnectionOptions
- Direct Known Subclasses:
EOS_P2P_CloseConnectionOptions.ByReference
,EOS_P2P_CloseConnectionOptions.ByValue
@FieldOrder({"ApiVersion","LocalUserId","RemoteUserId","SocketId"})
public class EOS_P2P_CloseConnectionOptions
extends com.sun.jna.Structure
Structure containing information about who would like to close a connection, and which connection.
- Since:
- 8/21/2023
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic 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
FieldsModifier and TypeFieldDescriptionint
API Version: Set this toEOS_P2P_CLOSECONNECTION_API_LATEST
.static final int
The most recent version of the EOS_P2P_CloseConnection API.The Product User ID of the local user who would like to close a previously accepted connection (or decline a pending invite)The Product User ID of the remote user to disconnect from (or to reject a pending invite from)The socket ID of the connection to close (or optionally NULL to not accept any connection requests from the Remote User)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_CLOSECONNECTION_API_LATEST
public static final int EOS_P2P_CLOSECONNECTION_API_LATESTThe most recent version of the EOS_P2P_CloseConnection API.- See Also:
-
ApiVersion
public int ApiVersionAPI Version: Set this toEOS_P2P_CLOSECONNECTION_API_LATEST
. -
LocalUserId
The Product User ID of the local user who would like to close a previously accepted connection (or decline a pending invite) -
RemoteUserId
The Product User ID of the remote user to disconnect from (or to reject a pending invite from) -
SocketId
The socket ID of the connection to close (or optionally NULL to not accept any connection requests from the Remote User)
-
-
Constructor Details
-
EOS_P2P_CloseConnectionOptions
public EOS_P2P_CloseConnectionOptions() -
EOS_P2P_CloseConnectionOptions
public EOS_P2P_CloseConnectionOptions(com.sun.jna.Pointer peer)
-