public enum TransportSnmp extends java.lang.Enum<TransportSnmp>
Enum Constant and Description |
---|
TCP
TCP transport with list of transport domains
|
UDP
UDP transport with list of transport domains
|
Modifier and Type | Method and Description |
---|---|
org.snmp4j.smi.OID |
getTransportDomainOID(TransportDomain td) |
static TransportSnmp |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransportSnmp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransportSnmp UDP
public static final TransportSnmp TCP
public static TransportSnmp[] values()
for (TransportSnmp c : TransportSnmp.values()) System.out.println(c);
public static TransportSnmp 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 org.snmp4j.smi.OID getTransportDomainOID(TransportDomain td)