MySnmpCrawler API

snmp.session
Class SnmpSessionEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--snmp.session.SnmpSessionEvent
All Implemented Interfaces:
java.io.Serializable

public class SnmpSessionEvent
extends java.util.EventObject

The SnmpSessionEvent is an event object for notifing the listeners that a new session has been created.

Version:
$Revision: 0.1 $ $Date: 2004/03/09 06:03:55 $
Author:
Scott Cheng
See Also:
Serialized Form

Field Summary
private  SnmpSession session
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SnmpSessionEvent(java.lang.Object source)
          Constructs the SnmpSessionEvent object with the newly created SnmpSession.
 
Method Summary
 SnmpSession getSnmpSession()
          Gets the encapsulated SnmpSession.
 
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

session

private SnmpSession session
Constructor Detail

SnmpSessionEvent

public SnmpSessionEvent(java.lang.Object source)
Constructs the SnmpSessionEvent object with the newly created SnmpSession.

Parameters:
source - The newly created SnmpSession
Method Detail

getSnmpSession

public SnmpSession getSnmpSession()
Gets the encapsulated SnmpSession.

Returns:
session The encapsulated SnmpSession

MySnmpCrawler API