Layer4Protocol

enum Layer4Protocol : ProtocolMessageEnum
Enumerates protocols at Layer 4 of the OSI model, as recognized by Elide application services.
Protobuf enum elide.net.Layer4Protocol

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
Defaults for a given context.
DEFAULT_PROTOCOL = 0;
Link copied to clipboard
val TCP_VALUE: Int = 1
TCP protocol.
TCP = 1;
Link copied to clipboard
val UDP_VALUE: Int = 2
UDP protocol.
UDP = 2;

Functions

Link copied to clipboard
open fun forNumber(value: Int): Layer4Protocol
Link copied to clipboard
fun getDescriptor(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getDescriptorForType(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
fun getValueDescriptor(): Descriptors.EnumValueDescriptor
Link copied to clipboard
open fun internalGetValueMap(): Internal.EnumLiteMap<Layer4Protocol>
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): Layer4Protocol
open fun valueOf(value: Int): Layer4Protocol

open fun valueOf(name: String): Layer4Protocol

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.