Package com.nt.udc.util
Class Snmp_Trap_APIImpl
java.lang.Object
com.nt.udc.util.Snmp_Trap_APIImpl
- All Implemented Interfaces:
Snmp_Trap_APIInterface,Serializable
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAddClientStation(com.nt.udc.admin.TrapHost m) Add a station that is to recive trapsvoidAddClientStationList(com.nt.udc.admin.TrapHostList v) voidremove all trap clientsvoidDeleteClientStation(com.nt.udc.admin.TrapHost m) delete a station that is to recive trapsprotected voidfinalize()com.nt.udc.admin.TrapHostListReturns a vector of MgtStation objects which represents all trap Clientsbooleanis the host table loadedvoidSend a Trap to all clientsvoidsetConfigDir(String absPath) voidSetContext(int context) Set the Trap context Ie who is sending the trapvoidsetHomeDir(String home)
-
Constructor Details
-
Snmp_Trap_APIImpl
public Snmp_Trap_APIImpl()
-
-
Method Details
-
finalize
protected void finalize() -
SendTrap
Description copied from interface:Snmp_Trap_APIInterfaceSend a Trap to all clients- Specified by:
SendTrapin interfaceSnmp_Trap_APIInterface- Throws:
TrapException
-
AddClientStation
Add a station that is to recive traps- Specified by:
AddClientStationin interfaceSnmp_Trap_APIInterface- Throws:
TrapException
-
AddClientStationList
- Specified by:
AddClientStationListin interfaceSnmp_Trap_APIInterface- Throws:
TrapException
-
DeleteClientStation
delete a station that is to recive traps- Specified by:
DeleteClientStationin interfaceSnmp_Trap_APIInterface- Throws:
TrapException
-
DeleteAllClientStations
remove all trap clients- Specified by:
DeleteAllClientStationsin interfaceSnmp_Trap_APIInterface- Throws:
TrapException
-
getStationList
Returns a vector of MgtStation objects which represents all trap Clients- Specified by:
getStationListin interfaceSnmp_Trap_APIInterface- Throws:
TrapException
-
SetContext
Description copied from interface:Snmp_Trap_APIInterfaceSet the Trap context Ie who is sending the trap- Specified by:
SetContextin interfaceSnmp_Trap_APIInterface- Throws:
TrapException
-
isTrapListAvailable
Description copied from interface:Snmp_Trap_APIInterfaceis the host table loaded- Specified by:
isTrapListAvailablein interfaceSnmp_Trap_APIInterface- Throws:
TrapException
-
getConfigDir
- Specified by:
getConfigDirin interfaceSnmp_Trap_APIInterface- Throws:
TrapException
-
setConfigDir
- Specified by:
setConfigDirin interfaceSnmp_Trap_APIInterface- Throws:
TrapException
-
setHomeDir
- Specified by:
setHomeDirin interfaceSnmp_Trap_APIInterface- Throws:
TrapException
-