|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SnmpTrapSender
Object responsible for sending of SNMP traps to one manager.
Classes implementing this interface encapsulate the SNMP API. To change the API, just create a new implementation of SnmpTrapSender.
| Method Summary | |
|---|---|
void |
close()
Closes the connection with the SNMP manager. |
String |
getName()
Returns the name given to SNMP manager. |
boolean |
isConnected()
Returns TRUE if the connection is established to the SNMP manager. |
void |
open()
Opens the connection to the SNMP manager. |
void |
send(SnmpTrap trap)
Sends a SNMP trap to the manager. |
| Method Detail |
|---|
String getName()
void open()
throws Exception
Exception - Exception if an error has occurred.void close()
boolean isConnected()
TRUE if the connection is established to the SNMP manager.
TRUE if the connection is established.
void send(SnmpTrap trap)
throws Exception
trap - Object representing a specific or generic SNMP trap.
Exception - Exception if an error has occurred.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||