@Structure.FieldOrder(value={"ApiVersion","LocalUserId","RemoteUserId","SocketId"})
public class EOS_P2P_CloseConnectionOptions
extends com.sun.jna.Structure
| Modifier and Type | Class and Description |
|---|---|
static class |
EOS_P2P_CloseConnectionOptions.ByReference |
static class |
EOS_P2P_CloseConnectionOptions.ByValue |
| Modifier and Type | Field and Description |
|---|---|
int |
ApiVersion
API Version: Set this to
EOS_P2P_CLOSECONNECTION_API_LATEST. |
static int |
EOS_P2P_CLOSECONNECTION_API_LATEST
The most recent version of the EOS_P2P_CloseConnection API.
|
EOS_ProductUserId |
LocalUserId
The Product User ID of the local user who would like to close a previously accepted connection (or decline a pending invite)
|
EOS_ProductUserId |
RemoteUserId
The Product User ID of the remote user to disconnect from (or to reject a pending invite from)
|
EOS_P2P_SocketId.ByReference |
SocketId
The socket ID of the connection to close (or optionally NULL to not accept any connection requests from the Remote User)
|
| Constructor and Description |
|---|
EOS_P2P_CloseConnectionOptions() |
EOS_P2P_CloseConnectionOptions(com.sun.jna.Pointer peer) |
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, writeFieldpublic static final int EOS_P2P_CLOSECONNECTION_API_LATEST
public int ApiVersion
EOS_P2P_CLOSECONNECTION_API_LATEST.public EOS_ProductUserId LocalUserId
public EOS_ProductUserId RemoteUserId
public EOS_P2P_SocketId.ByReference SocketId