public interface SnmpTrapSenderIfc
Modifier and Type | Field and Description |
---|---|
static int |
MIB_CLEAR |
static int |
MIB_CRITICAL
These enumerated values must match the values defined
in the UDC-R330-MIB module.
|
static int |
MIB_MAJOR |
static int |
MIB_MINOR |
static int |
MIB_WARNING |
Modifier and Type | Method and Description |
---|---|
void |
AddClientStation(com.nt.udc.admin.TrapHost m) |
void |
AddClientStationList(com.nt.udc.admin.TrapHostList v) |
void |
DeleteAllClientStations()
remove all trap clients
|
void |
DeleteClientStation(com.nt.udc.admin.TrapHost m)
delete a station that is to recive traps
|
java.lang.String |
getConfigDir() |
com.nt.udc.admin.TrapHostList |
getStationList()
Returns a vector of TrapHost objects which represents all trap
Clients
|
boolean |
isInitialized()
The snmp interface can only be usable if the mibs are loaded
|
boolean |
isTrapListAvailable()
Is the host table loaded
|
void |
SendTrap(int trapSeverity,
java.lang.String category,
java.lang.String alarmText,
java.lang.String additionalText,
java.lang.String componentName,
java.lang.String componentType,
int alarmId,
java.lang.String alarmTime)
This version of SendTrap allows the user (the Logger) to
specify all of the trap parameters.
|
void |
setConfigDir(java.lang.String absPath) |
void |
setHomeDir(java.lang.String home) |
static final int MIB_CRITICAL
static final int MIB_MAJOR
static final int MIB_MINOR
static final int MIB_WARNING
static final int MIB_CLEAR
void SendTrap(int trapSeverity, java.lang.String category, java.lang.String alarmText, java.lang.String additionalText, java.lang.String componentName, java.lang.String componentType, int alarmId, java.lang.String alarmTime) throws TrapException
TrapException
void AddClientStation(com.nt.udc.admin.TrapHost m) throws TrapException
TrapException
void AddClientStationList(com.nt.udc.admin.TrapHostList v) throws TrapException
TrapException
void DeleteClientStation(com.nt.udc.admin.TrapHost m) throws TrapException
TrapException
void DeleteAllClientStations() throws TrapException
TrapException
com.nt.udc.admin.TrapHostList getStationList() throws TrapException
TrapException
boolean isTrapListAvailable() throws TrapException
TrapException
java.lang.String getConfigDir() throws TrapException
TrapException
void setConfigDir(java.lang.String absPath) throws TrapException
TrapException
void setHomeDir(java.lang.String home) throws TrapException
TrapException
boolean isInitialized()