Enum Class TransportAuditEvent.TransportOperation
java.lang.Object
java.lang.Enum<TransportAuditEvent.TransportOperation>
org.snmp4j.transport.TransportAuditEvent.TransportOperation
- All Implemented Interfaces:
Serializable, Comparable<TransportAuditEvent.TransportOperation>, java.lang.constant.Constable
- Enclosing class:
TransportAuditEvent
public static enum TransportAuditEvent.TransportOperation
extends Enum<TransportAuditEvent.TransportOperation>
The
TransportOperation enumerates the transport operations that can be audited.- Since:
- 3.12.0
- Version:
- 3.12.0
- Author:
- Frank Fock
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA listening address or a connection is being closed.A transport is about to bind and listen on a local address (open a listening port).A message has been received from a remote address and is about to be processed.A message is about to be sent to a remote address. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LISTEN
A transport is about to bind and listen on a local address (open a listening port). -
SEND
A message is about to be sent to a remote address. -
RECEIVE
A message has been received from a remote address and is about to be processed. -
CLOSE
A listening address or a connection is being closed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-