IP*Works! S/SNMP V6

ipworksssnmp
Class SnmpagentBadPacketEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--ipworksssnmp.SnmpagentBadPacketEvent
All Implemented Interfaces:
java.io.Serializable

public class SnmpagentBadPacketEvent
extends java.util.EventObject

Fired for erroneous and/or malformed messages.

The full message is provided in the Packet parameter.

The BadPacket event is also fired when authentication fails for received packets due to a bad password or other reasons.

If the Report parameter is set to True, an unauthenticated error report will be sent to the client, otherwise the packet will be silently ignored.

Please refer to the GetUserPassword event for more information concerning SNMPv3 authentication.

See Also:
Snmpagent, Snmpagent.BadPacketEvent, Serialized Form

Field Summary
 int errorCode
           
 java.lang.String errorDescription
           
 byte[] packet
           
 boolean report
           
 java.lang.String sourceAddress
           
 int sourcePort
           
 
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
 

Field Detail

packet

public byte[] packet

sourceAddress

public java.lang.String sourceAddress

sourcePort

public int sourcePort

errorCode

public int errorCode

errorDescription

public java.lang.String errorDescription

report

public boolean report

IP*Works! S/SNMP V6

Copyright (c) 2005 /n software inc. - All rights reserved.