ipworks
Class SnmpTrapEvent
java.lang.Object
|
+--java.util.EventObject
|
+--ipworks.SnmpTrapEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class SnmpTrapEvent
- extends java.util.EventObject
Fired when a SNMP trap packet is received.
The Community , Enterprise , AgentAddress , GenericType , SpecificType , and TimeStamp parameters contain information about the trap.
The SourceAddress and SourcePort parameters show the address and port
of the sender as reported by the TCP/IP stack.
The list of variables in the SNMP packet, including optional values and types, is provided
through the ObjId
, ObjType
, and ObjValue
properties. The ObjCount
property
displays the number of variables. These variables must be copied to another location
before the event has completed executing, or they may be overriden by other events.
- See Also:
Snmp
,
Snmp.fireTrap
, Serialized Form
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
community
public java.lang.String community
enterprise
public java.lang.String enterprise
agentAddress
public java.lang.String agentAddress
genericType
public int genericType
specificType
public int specificType
timeStamp
public int timeStamp
sourceAddress
public java.lang.String sourceAddress
sourcePort
public int sourcePort
Copyright (c) 2001 /n software inc. - All rights reserved.