com.adventnet.snmp.beans
Interface  RequestListener
- All Superinterfaces: 
 - java.util.EventListener
 
- All Known Implementing Classes: 
 - SnmpRequestServer
 
- public interface RequestListener
- extends java.util.EventListener
  
  This interface defines a listener for SNMP requests.  The SnmpRequestServer
  class is a RequestListener for RequestEvents, that sends out
  SNMP requests when a request event is received.  It then generates
  a ResultEvent when an SNMP response is received.
- See Also: 
 RequestEvent, 
SnmpRequestServer
 
addRequest
public int addRequest(RequestEvent e)
- Add a request to the server.  
 Returns the request ID which will be used for the SNMP request, 
 and the ID in the ResultEvent which can be used to identify a specific 
 response.  The request ID will be generated by the library if you do 
 not speficy it in the event.
 
- Parameters:
 RequestEvent - - this will form the request to be sent.- See Also: 
 RequestEvent
 
 
Copyright (c)AdventNet Inc., 1996-2004