org.snmp4j.agent.agentx.event
Class PingEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.snmp4j.agent.agentx.event.PingEvent
All Implemented Interfaces:
java.io.Serializable

public class PingEvent
extends java.util.EventObject

The PingEvent object describes an AgentX ping result.

Version:
1.0
Author:
Frank Fock
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PingEvent(java.lang.Object source, AgentXSession pingedSession, AgentXResponsePDU pingResponse)
           
PingEvent(java.lang.Object source, AgentXSession pingedSession, java.lang.Exception error)
           
 
Method Summary
 java.lang.Exception getError()
           
 AgentXResponsePDU getResponse()
           
 AgentXSession getSession()
           
 boolean isCloseSession()
           
 boolean isResetSession()
           
 void setCloseSession(boolean closeSession)
           
 void setResetSession(boolean resetSession)
           
 java.lang.String toString()
           
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PingEvent

public PingEvent(java.lang.Object source,
                 AgentXSession pingedSession,
                 AgentXResponsePDU pingResponse)

PingEvent

public PingEvent(java.lang.Object source,
                 AgentXSession pingedSession,
                 java.lang.Exception error)
Method Detail

getResponse

public AgentXResponsePDU getResponse()

getSession

public AgentXSession getSession()

isCloseSession

public boolean isCloseSession()

isResetSession

public boolean isResetSession()

getError

public java.lang.Exception getError()

setCloseSession

public void setCloseSession(boolean closeSession)

setResetSession

public void setResetSession(boolean resetSession)

toString

public java.lang.String toString()
Overrides:
toString in class java.util.EventObject

Copyright 2005-2011 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.