|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
org.snmp4j.event.AuthenticationFailureEvent
public class AuthenticationFailureEvent
The AuthenticationFailureEvent class describes the source
and type of an authentication failure as well as the message that caused
the error.
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
AuthenticationFailureEvent(java.lang.Object source,
Address sourceAddress,
TransportMapping transport,
int error,
BERInputStream message)
Creates an authentication failure event. |
|
| Method Summary | |
|---|---|
Address |
getAddress()
Returns the source address from which the message has been received. |
int |
getError()
Returns the SNMP4J internal error status caused by the message. |
BERInputStream |
getMessage()
Returns the message received. |
TransportMapping |
getTransport()
Returns the transport mapping over which the message has bee received. |
| 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 |
| Constructor Detail |
|---|
public AuthenticationFailureEvent(java.lang.Object source,
Address sourceAddress,
TransportMapping transport,
int error,
BERInputStream message)
source - the instance that generated the event.sourceAddress - the address from where the failed message has been received.transport - the TransportMapping with which the message has been
received.error - the SNMP4J MP error status caused by the message
(see SnmpConstants).message - the message as received at the position where processing the message
has stopped.| Method Detail |
|---|
public TransportMapping getTransport()
TransportMapping instance.public BERInputStream getMessage()
BERInputStream at the position where processing of the
message has stopped.public int getError()
public Address getAddress()
Address.
|
Copyright 2003-2009 Frank Fock and Jochen Katz (SNMP4J.org) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||