Class EOS_SessionDetails_Info
java.lang.Object
com.sun.jna.Structure
host.anzo.eossdk.eos.sdk.sessions.EOS_SessionDetails_Info
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
EOS_SessionDetails_Info.ByReference,EOS_SessionDetails_Info.ByValue
@FieldOrder({"ApiVersion","SessionId","HostAddress","NumOpenPublicConnections","Settings","OwnerUserId","OwnerServerClientId"})
public class EOS_SessionDetails_Info
extends com.sun.jna.Structure
implements AutoCloseable
Internal details about a session, found on both active sessions and within search results
- Since:
- 9/5/2023
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField -
Field Summary
FieldsModifier and TypeFieldDescriptionintAPI Version: Set this toEOS_SESSIONDETAILS_INFO_API_LATEST.static final intThe most recent version of the EOS_SessionDetails_Info struct.IP address of this session as visible by the backend serviceintNumber of remaining open spaces on the session (NumPublicConnections - RegisteredPlayerscom.sun.jna.PointerThe client id of the session owner.The Product User ID of the session owner.Session ID assigned by the backend serviceReference to the additional settings associated with this sessionFields 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_SESSIONDETAILS_INFO_API_LATEST
public static final int EOS_SESSIONDETAILS_INFO_API_LATESTThe most recent version of the EOS_SessionDetails_Info struct.- See Also:
-
ApiVersion
public int ApiVersionAPI Version: Set this toEOS_SESSIONDETAILS_INFO_API_LATEST. -
SessionId
Session ID assigned by the backend service -
HostAddress
IP address of this session as visible by the backend service -
NumOpenPublicConnections
public int NumOpenPublicConnectionsNumber of remaining open spaces on the session (NumPublicConnections - RegisteredPlayers -
Settings
Reference to the additional settings associated with this session -
OwnerUserId
The Product User ID of the session owner. Null if the session is not owned by a user. -
OwnerServerClientId
public com.sun.jna.Pointer OwnerServerClientIdThe client id of the session owner. Null if the session is not owned by a server. The session is owned by a server ifEOS_Platform_Options.IsServeris EOS_TRUE.
-
-
Constructor Details
-
EOS_SessionDetails_Info
public EOS_SessionDetails_Info() -
EOS_SessionDetails_Info
public EOS_SessionDetails_Info(com.sun.jna.Pointer peer)
-
-
Method Details
-
release
public void release() -
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-