com.arunta.base.settings
Class SNMPTrapType

java.lang.Object
  extended by com.arunta.base.settings.SNMPTrapType
All Implemented Interfaces:
java.io.Serializable

public class SNMPTrapType
extends java.lang.Object
implements java.io.Serializable

Enum for supported SNMP trap types.

See Also:
Serialized Form

Field Summary
static SNMPTrapType[] types
           
static SNMPTrapType V1TRAP
           
static SNMPTrapType V2INFORM
           
static SNMPTrapType V2TRAP
           
 
Constructor Summary
SNMPTrapType()
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
static java.lang.String[] getNames()
           
 int getType()
           
static SNMPTrapType lookup(SNMPTrapType t)
           
static SNMPTrapType lookup(java.lang.String t)
           
 void setType(int type)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

types

public static final SNMPTrapType[] types

V1TRAP

public static final SNMPTrapType V1TRAP

V2TRAP

public static final SNMPTrapType V2TRAP

V2INFORM

public static final SNMPTrapType V2INFORM
Constructor Detail

SNMPTrapType

public SNMPTrapType()
Method Detail

lookup

public static SNMPTrapType lookup(SNMPTrapType t)

lookup

public static SNMPTrapType lookup(java.lang.String t)

getNames

public static java.lang.String[] getNames()

getType

public int getType()

setType

public void setType(int type)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright ©, 2005-2012 Prolancer Pty Ltd, Sydney Australia.