|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
TrapFactory takes care of translation of Notifications into SNMP V1 and V2 traps Trap-PDU ::= [4] IMPLICIT SEQUENCE { enterprise -- type of object generating -- trap, see sysObjectID in [5] OBJECT IDENTIFIER, agent-addr -- address of object generating NetworkAddress, -- trap generic-trap -- generic trap type INTEGER { coldStart(0), warmStart(1), linkDown(2), linkUp(3), authenticationFailure(4), egpNeighborLoss(5), enterpriseSpecific(6) }, specific-trap -- specific code, present even INTEGER, -- if generic-trap is not -- enterpriseSpecific time-stamp -- time elapsed between the last TimeTicks, -- (re)initialization of the network -- entity and the generation of the trap variable-bindings -- "interesting" information VarBindList }
Method Summary | |
SnmpPduTrap |
generateV1Trap(Notification (src) n)
Traslates a Notification to an SNMP V1 trap. |
SnmpPduPacket |
generateV2Trap(Notification (src) n)
Translates a Notification to an SNMP V2 trap. |
void |
set(java.lang.String notificationMapResName,
Clock (src) uptime,
Counter (src) count)
Sets the name of the file containing the notification/trap mappings, the uptime clock and the trap counter |
void |
start()
Performs all the required initialisation in order for the mapper to commence operation (e.g. |
Method Detail |
public void set(java.lang.String notificationMapResName, Clock (src) uptime, Counter (src) count)
public void start() throws java.lang.Exception
java.lang.Exception
public SnmpPduPacket generateV2Trap(Notification (src) n) throws MappingFailedException (src)
MappingFailedException (src)
public SnmpPduTrap generateV1Trap(Notification (src) n) throws MappingFailedException (src)
MappingFailedException (src)
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |