|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This interface is supported by all user classes which are interested in sending traps to a Table of managers and ports at which the managers would receive them.
The V3 Trap Forwarding Table provides the necessary information for building a V3 Trap PDU.
SnmpTrapService.sendTrap| Method Summary | |
java.lang.String |
getManagerHost(int index)
Gets the manager host name to which we need to send the Traps |
int |
getManagerPort(int index)
Gets the manager port to which we need to send the Traps |
int |
getNumRows()
Gets the number of rows of a table. |
int |
getRowStatus(int index)
Gets the row status of the table. |
V3ForwardingEntry |
getV3ForwardingEntry(int index)
Getter for V3ForwardingEntry. |
java.lang.String |
getV3ManagerUserContextName(int index)
Getter for V3 Manager User ContextName. |
java.lang.String |
getV3ManagerUserName(int index)
Getter for V3 Manager UserName. |
int |
getV3ManagerUserSecModel(int index)
Getter for V3 Manager User security model. |
int |
getV3SecurityLevel(int index)
Getter for V3 Manager security level. |
| Methods inherited from interface com.adventnet.snmp.snmp2.agent.TrapForwardingTableInterface |
getForwardingEntry,
getV1v2ManagerHost,
getV1v2ManagerPort,
getV1v2ManagerStatus |
| Method Detail |
public int getNumRows()
public java.lang.String getManagerHost(int index)
index - of the tablepublic int getManagerPort(int index)
row - index
if a -1 is returned
port is assumed to be 162public int getRowStatus(int index)
public java.lang.String getV3ManagerUserName(int index)
index - The value to specify the entry for which the V3 Manager Username is required.public java.lang.String getV3ManagerUserContextName(int index)
index - The Value to specify the entry for which the
V3 Manager User ContextName is required.public int getV3ManagerUserSecModel(int index)
index - The Value of the Entry for which the
V3 Manager User security Model is needed.public int getV3SecurityLevel(int index)
index - The Value to specify the Entry for which the
V3 manager Security Level is needed.public V3ForwardingEntry getV3ForwardingEntry(int index)
index - The Value to specify the index for which the Entry
is needed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||