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.Object
public void SendTrap(int trapServerity, java.lang.String msg) throws TrapException
Snmp_Trap_APIInterface
SendTrap
in interface Snmp_Trap_APIInterface
TrapException
public void AddClientStation(com.nt.udc.admin.TrapHost m) throws TrapException
AddClientStation
in interface Snmp_Trap_APIInterface
TrapException
public void AddClientStationList(com.nt.udc.admin.TrapHostList v) throws TrapException
AddClientStationList
in interface Snmp_Trap_APIInterface
TrapException
public void DeleteClientStation(com.nt.udc.admin.TrapHost m) throws TrapException
DeleteClientStation
in interface Snmp_Trap_APIInterface
TrapException
public void DeleteAllClientStations() throws TrapException
DeleteAllClientStations
in interface Snmp_Trap_APIInterface
TrapException
public com.nt.udc.admin.TrapHostList getStationList() throws TrapException
getStationList
in interface Snmp_Trap_APIInterface
TrapException
public void SetContext(int context) throws TrapException
Snmp_Trap_APIInterface
SetContext
in interface Snmp_Trap_APIInterface
TrapException
public boolean isTrapListAvailable() throws TrapException
Snmp_Trap_APIInterface
isTrapListAvailable
in interface Snmp_Trap_APIInterface
TrapException
public java.lang.String getConfigDir() throws TrapException
getConfigDir
in interface Snmp_Trap_APIInterface
TrapException
public void setConfigDir(java.lang.String absPath) throws TrapException
setConfigDir
in interface Snmp_Trap_APIInterface
TrapException
public void setHomeDir(java.lang.String home) throws TrapException
setHomeDir
in interface Snmp_Trap_APIInterface
TrapException