Class EOS_P2P_SetRelayControlOptions
java.lang.Object
com.sun.jna.Structure
host.anzo.eossdk.eos.sdk.p2p.options.EOS_P2P_SetRelayControlOptions
- Direct Known Subclasses:
EOS_P2P_SetRelayControlOptions.ByReference,EOS_P2P_SetRelayControlOptions.ByValue
@FieldOrder({"ApiVersion","RelayControl"})
public class EOS_P2P_SetRelayControlOptions
extends com.sun.jna.Structure
Structure containing information about new relay configurations.
- Since:
- 8/21/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 to EOS_P2P_SETRELAYCONTROL_API_LATEST.static final intThe requested level of relay servers for P2P connections.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_SETRELAYCONTROL_API_LATEST
public static final int EOS_P2P_SETRELAYCONTROL_API_LATEST- See Also:
-
ApiVersion
public int ApiVersionAPI Version: Set this to EOS_P2P_SETRELAYCONTROL_API_LATEST. -
RelayControl
The requested level of relay servers for P2P connections. This setting is only applied to new P2P connections, or when existing P2P connections reconnect during a temporary connectivity outage. Peers with an incompatible setting to the local setting will not be able to connect.
-
-
Constructor Details
-
EOS_P2P_SetRelayControlOptions
public EOS_P2P_SetRelayControlOptions() -
EOS_P2P_SetRelayControlOptions
public EOS_P2P_SetRelayControlOptions(com.sun.jna.Pointer peer)
-