public enum NetworkProtocol extends Enum<NetworkProtocol>
Enum Constant and Description |
---|
BMP |
FLOWS |
GRPC |
HTTP |
IPFIX_TCP |
JDWP |
JTI |
NXOS |
SNMP |
SSH |
SYSLOG |
Modifier and Type | Method and Description |
---|---|
InternetProtocol |
getIpProtocol() |
static NetworkProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkProtocol SSH
public static final NetworkProtocol HTTP
public static final NetworkProtocol JDWP
public static final NetworkProtocol SYSLOG
public static final NetworkProtocol SNMP
public static final NetworkProtocol JTI
public static final NetworkProtocol NXOS
public static final NetworkProtocol FLOWS
public static final NetworkProtocol BMP
public static final NetworkProtocol IPFIX_TCP
public static final NetworkProtocol GRPC
public static NetworkProtocol[] values()
for (NetworkProtocol c : NetworkProtocol.values()) System.out.println(c);
public static NetworkProtocol valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic InternetProtocol getIpProtocol()
Copyright © 2022. All rights reserved.