public class Snmp_Trap_APIImpl extends java.lang.Object implements Snmp_Trap_APIInterface, java.io.Serializable
| Constructor and Description |
|---|
Snmp_Trap_APIImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
AddClientStation(com.nt.udc.admin.TrapHost m)
Add a station that is to recive traps
|
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
|
protected void |
finalize() |
java.lang.String |
getConfigDir() |
com.nt.udc.admin.TrapHostList |
getStationList()
Returns a vector of MgtStation objects which represents all trap
Clients
|
boolean |
isTrapListAvailable()
is the host table loaded
|
void |
SendTrap(int trapServerity,
java.lang.String msg)
Send a Trap to all clients
|
void |
setConfigDir(java.lang.String absPath) |
void |
SetContext(int context)
Set the Trap context Ie who is sending the trap
|
void |
setHomeDir(java.lang.String home) |
protected void finalize()
finalize in class java.lang.Objectpublic void SendTrap(int trapServerity,
java.lang.String msg)
throws TrapException
Snmp_Trap_APIInterfaceSendTrap in interface Snmp_Trap_APIInterfaceTrapExceptionpublic void AddClientStation(com.nt.udc.admin.TrapHost m)
throws TrapException
AddClientStation in interface Snmp_Trap_APIInterfaceTrapExceptionpublic void AddClientStationList(com.nt.udc.admin.TrapHostList v)
throws TrapException
AddClientStationList in interface Snmp_Trap_APIInterfaceTrapExceptionpublic void DeleteClientStation(com.nt.udc.admin.TrapHost m)
throws TrapException
DeleteClientStation in interface Snmp_Trap_APIInterfaceTrapExceptionpublic void DeleteAllClientStations()
throws TrapException
DeleteAllClientStations in interface Snmp_Trap_APIInterfaceTrapExceptionpublic com.nt.udc.admin.TrapHostList getStationList()
throws TrapException
getStationList in interface Snmp_Trap_APIInterfaceTrapExceptionpublic void SetContext(int context)
throws TrapException
Snmp_Trap_APIInterfaceSetContext in interface Snmp_Trap_APIInterfaceTrapExceptionpublic boolean isTrapListAvailable()
throws TrapException
Snmp_Trap_APIInterfaceisTrapListAvailable in interface Snmp_Trap_APIInterfaceTrapExceptionpublic java.lang.String getConfigDir()
throws TrapException
getConfigDir in interface Snmp_Trap_APIInterfaceTrapExceptionpublic void setConfigDir(java.lang.String absPath)
throws TrapException
setConfigDir in interface Snmp_Trap_APIInterfaceTrapExceptionpublic void setHomeDir(java.lang.String home)
throws TrapException
setHomeDir in interface Snmp_Trap_APIInterfaceTrapException