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 TypeMethodDescriptionvoid
AddClientStation
(com.nt.udc.admin.TrapHost m) Add a station that is to recive trapsvoid
AddClientStationList
(com.nt.udc.admin.TrapHostList v) void
remove all trap clientsvoid
DeleteClientStation
(com.nt.udc.admin.TrapHost m) delete a station that is to recive trapsprotected void
finalize()
com.nt.udc.admin.TrapHostList
Returns a vector of MgtStation objects which represents all trap Clientsboolean
is the host table loadedvoid
Send a Trap to all clientsvoid
setConfigDir
(String absPath) void
SetContext
(int context) Set the Trap context Ie who is sending the trapvoid
setHomeDir
(String home)
-
Constructor Details
-
Snmp_Trap_APIImpl
public Snmp_Trap_APIImpl()
-
-
Method Details
-
finalize
protected void finalize() -
SendTrap
Description copied from interface:Snmp_Trap_APIInterface
Send a Trap to all clients- Specified by:
SendTrap
in interfaceSnmp_Trap_APIInterface
- Throws:
TrapException
-
AddClientStation
Add a station that is to recive traps- Specified by:
AddClientStation
in interfaceSnmp_Trap_APIInterface
- Throws:
TrapException
-
AddClientStationList
- Specified by:
AddClientStationList
in interfaceSnmp_Trap_APIInterface
- Throws:
TrapException
-
DeleteClientStation
delete a station that is to recive traps- Specified by:
DeleteClientStation
in interfaceSnmp_Trap_APIInterface
- Throws:
TrapException
-
DeleteAllClientStations
remove all trap clients- Specified by:
DeleteAllClientStations
in interfaceSnmp_Trap_APIInterface
- Throws:
TrapException
-
getStationList
Returns a vector of MgtStation objects which represents all trap Clients- Specified by:
getStationList
in interfaceSnmp_Trap_APIInterface
- Throws:
TrapException
-
SetContext
Description copied from interface:Snmp_Trap_APIInterface
Set the Trap context Ie who is sending the trap- Specified by:
SetContext
in interfaceSnmp_Trap_APIInterface
- Throws:
TrapException
-
isTrapListAvailable
Description copied from interface:Snmp_Trap_APIInterface
is the host table loaded- Specified by:
isTrapListAvailable
in interfaceSnmp_Trap_APIInterface
- Throws:
TrapException
-
getConfigDir
- Specified by:
getConfigDir
in interfaceSnmp_Trap_APIInterface
- Throws:
TrapException
-
setConfigDir
- Specified by:
setConfigDir
in interfaceSnmp_Trap_APIInterface
- Throws:
TrapException
-
setHomeDir
- Specified by:
setHomeDir
in interfaceSnmp_Trap_APIInterface
- Throws:
TrapException
-