Package com.nt.udc.util
Interface Snmp_Trap_APIInterface
- All Known Implementing Classes:
Snmp_Trap_APIImpl
public interface Snmp_Trap_APIInterface
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
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 trapscom.nt.udc.admin.TrapHostList
Returns a vector of TrapHost 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)
-
Field Details
-
emergency
static final int emergency- See Also:
-
critical
static final int critical- See Also:
-
major
static final int major- See Also:
-
minor
static final int minor- See Also:
-
warning
static final int warning- See Also:
-
notify
static final int notify- See Also:
-
debug
static final int debug- See Also:
-
AdminSrv
static final int AdminSrv- See Also:
-
NodeMgr
static final int NodeMgr- See Also:
-
EI
static final int EI- See Also:
-
OI
static final int OI- See Also:
-
EP
static final int EP- See Also:
-
AP
static final int AP- See Also:
-
OSA
static final int OSA- See Also:
-
-
Method Details
-
SetContext
Set the Trap context Ie who is sending the trap- Throws:
TrapException
-
SendTrap
Send a Trap to all clients- Throws:
TrapException
-
AddClientStation
Add a station that is to recive traps- Throws:
TrapException
-
AddClientStationList
- Throws:
TrapException
-
DeleteClientStation
delete a station that is to recive traps- Throws:
TrapException
-
DeleteAllClientStations
remove all trap clients- Throws:
TrapException
-
getStationList
Returns a vector of TrapHost objects which represents all trap Clients- Throws:
TrapException
-
isTrapListAvailable
is the host table loaded- Throws:
TrapException
-
getConfigDir
- Throws:
TrapException
-
setConfigDir
- Throws:
TrapException
-
setHomeDir
- Throws:
TrapException
-