|
JoeSNMP API 0.3.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
org.opennms.protocols.snmp.SnmpPortal.Receiver
private class SnmpPortal.Receiver
Defines the inner class that monitors the datagram socket and receives all the PDU responses. If an exception is generated then it is saved in m_why and can be re-generated with a call to raise().
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
private java.lang.Thread |
m_fastReceiver
|
private java.util.LinkedList |
m_fastReceiverQ
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
SnmpPortal.Receiver(java.lang.String name)
|
|
| Method Summary | |
|---|---|
private void |
notifyOnClose()
|
void |
run()
The run method is an infinite loop method that receives all datagrams for the session. |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private final java.util.LinkedList m_fastReceiverQ
private final java.lang.Thread m_fastReceiver
| Constructor Detail |
|---|
public SnmpPortal.Receiver(java.lang.String name)
| Method Detail |
|---|
private void notifyOnClose()
public void run()
run in interface java.lang.Runnablerun in class java.lang.ThreadSnmpPacketHandler
|
JoeSNMP API 0.3.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||