protected static enum SNMPDispatcher.SnmpVersion extends Enum<SNMPDispatcher.SnmpVersion>
| Modifier and Type | Method and Description | 
|---|---|
| int | getTargetVersion() | 
| int | getTrapType() | 
| boolean | isCommunityTargetRequired() | 
| static SNMPDispatcher.SnmpVersion | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static SNMPDispatcher.SnmpVersion[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final SNMPDispatcher.SnmpVersion SNMPv1
public static final SNMPDispatcher.SnmpVersion SNMPv2c
public static final SNMPDispatcher.SnmpVersion SNMPv3
public static SNMPDispatcher.SnmpVersion[] values()
for (SNMPDispatcher.SnmpVersion c : SNMPDispatcher.SnmpVersion.values()) System.out.println(c);
public static SNMPDispatcher.SnmpVersion 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 int getTrapType()
public int getTargetVersion()
public boolean isCommunityTargetRequired()
Copyright © 2022 Apache Software Foundation. All rights reserved.