Enum Class EOS_ENetworkConnectionType
java.lang.Object
java.lang.Enum<EOS_ENetworkConnectionType>
host.anzo.eossdk.eos.sdk.p2p.enums.EOS_ENetworkConnectionType
- All Implemented Interfaces:
com.sun.jna.NativeMapped,Serializable,Comparable<EOS_ENetworkConnectionType>,Constable
public enum EOS_ENetworkConnectionType
extends Enum<EOS_ENetworkConnectionType>
implements com.sun.jna.NativeMapped
Types of network connections.
- Since:
- 8/22/2023
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA direct connection to the peer over the Internet or Local NetworkThere is no established connectionA relayed connection using Epic-provided servers to the peer over the Internet -
Method Summary
Modifier and TypeMethodDescriptionfromNative(Object nativeValue, com.sun.jna.FromNativeContext context) Class<?>toNative()static EOS_ENetworkConnectionTypeReturns the enum constant of this class with the specified name.static EOS_ENetworkConnectionType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EOS_NCT_NoConnection
There is no established connection -
EOS_NCT_DirectConnection
A direct connection to the peer over the Internet or Local Network -
EOS_NCT_RelayedConnection
A relayed connection using Epic-provided servers to the peer over the Internet
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
fromNative
- Specified by:
fromNativein interfacecom.sun.jna.NativeMapped
-
toNative
- Specified by:
toNativein interfacecom.sun.jna.NativeMapped
-
nativeType
- Specified by:
nativeTypein interfacecom.sun.jna.NativeMapped
-