IP*Works!

ipworks
Class SnmpGetRequestEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--ipworks.SnmpGetRequestEvent
All Implemented Interfaces:
java.io.Serializable

public class SnmpGetRequestEvent
extends java.util.EventObject

Fired when a GetRequest packet is received. 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.

Responses are sent though the Action property. The ObjValue and ObjType arrays may be populated directly with the values in ObjId .

The SourceAddress and SourcePort parameters show the address and port of the sender as reported by the TCP/IP stack.

See Also:
Snmp, Snmp.fireGetRequest, Serialized Form

Field Summary
 java.lang.String community
           
 int requestId
           
 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

requestId

public int requestId

community

public java.lang.String community

sourceAddress

public java.lang.String sourceAddress

sourcePort

public int sourcePort

IP*Works!

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