|
Active Virtual Network Management Prediction (AVNMP) Classes | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--snmp.agent.SnmpAgentContext
This class handles the SNMP connection details. This research is funded by DARPA/ITO Contract Number: F30602-98-C-0230 supported by the Air Force Research Laboratory/IF.
Field Summary | |
AgentTable |
agentTable
A list of all the managemable objects. |
java.io.InputStream |
in
This input stream |
int |
iport
The client port. |
java.io.OutputStream |
out
The output stream |
static int |
STD_PORT
The default port to use. |
Constructor Summary | |
SnmpAgentContext(int p)
Start to run this thread. |
|
SnmpAgentContext(int p,
AgentTable agenttab)
Start to run this thread. |
Method Summary | |
void |
finalize()
|
void |
removeGreaterSubAgents(java.lang.String fromOid,
java.lang.String suffix)
Remove all subagents greater than index. |
void |
removeSmallerSubAgents(java.lang.String fromOid,
java.lang.String suffix)
Remove all subagents smaller than index. |
void |
run()
Wait for an SNMP packet to arrive and decode it. |
void |
stop()
Stop this thread. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.io.OutputStream out
public java.io.InputStream in
public int iport
public static final int STD_PORT
public AgentTable agentTable
Constructor Detail |
public SnmpAgentContext(int p) throws java.io.IOException
p
- The port to wait on for requests.public SnmpAgentContext(int p, AgentTable agenttab) throws java.io.IOException
p
- The port to wait on for requests.Method Detail |
public void stop()
public void finalize()
finalize
in class java.lang.Object
public void run()
run
in interface java.lang.Runnable
public void removeSmallerSubAgents(java.lang.String fromOid, java.lang.String suffix)
fromOid
- The base of the table.suffix
- Remove subagents smaller than the suffix.public void removeGreaterSubAgents(java.lang.String fromOid, java.lang.String suffix)
fromOid
- The base of the table.suffix
- Remove subagents strictly greater than the suffix.
|
Active Virtual Network Management Prediction (AVNMP) Classes | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |