public enum EOS_ERelayControl extends java.lang.Enum<EOS_ERelayControl> implements com.sun.jna.NativeMapped
Please see the following EOS_ERelayControl value compatibility-chart to better understand how changing this value
can affect compatibility between clients with different settings.
Connections between clients using Incompatible settings may succeed in limited scenarios but should be treated as though they will consistently fail.
| Type | EOS_RC_NoRelays | EOS_RC_AllowRelays (Default) | EOS_RC_ForceRelays |
|---|---|---|---|
| EOS_RC_NoRelays | Compatible | Compatible | Incompatible |
| EOS_RC_AllowRelays (Default) | Compatible | Compatible | Compatible |
| EOS_RC_ForceRelays | Incompatible | Compatible | Compatible |
| Enum Constant and Description |
|---|
EOS_RC_AllowRelays
Peer connections will attempt to use relay servers, but only after direct connection attempts fail.
|
EOS_RC_ForceRelays
Peer connections will only ever use relay servers.
|
EOS_RC_NoRelays
Peer connections will never attempt to use relay servers.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
fromNative(java.lang.Object nativeValue,
com.sun.jna.FromNativeContext context) |
java.lang.Class<?> |
nativeType() |
java.lang.Object |
toNative() |
static EOS_ERelayControl |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EOS_ERelayControl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EOS_ERelayControl EOS_RC_NoRelays
public static final EOS_ERelayControl EOS_RC_AllowRelays
public static final EOS_ERelayControl EOS_RC_ForceRelays
public static EOS_ERelayControl[] values()
for (EOS_ERelayControl c : EOS_ERelayControl.values()) System.out.println(c);
public static EOS_ERelayControl valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.Object fromNative(java.lang.Object nativeValue,
com.sun.jna.FromNativeContext context)
fromNative in interface com.sun.jna.NativeMappedpublic java.lang.Object toNative()
toNative in interface com.sun.jna.NativeMappedpublic java.lang.Class<?> nativeType()
nativeType in interface com.sun.jna.NativeMapped