Methods Summary |
---|
public void | addRequest(SnmpInformRequest reqc)
newq.addRequest(reqc) ;
return ;
|
public void | addWaiting(SnmpInformRequest reqc)
waitq.addWaiting(reqc) ;
return ;
|
static void | debug(java.lang.String clz, java.lang.String func, java.lang.String info)
Trace.send(Trace.LEVEL_DEBUG, Trace.INFO_ADAPTOR_SNMP, clz, func, info);
|
static void | debug(java.lang.String clz, java.lang.String func, java.lang.Throwable exception)
Trace.send(Trace.LEVEL_DEBUG, Trace.INFO_ADAPTOR_SNMP, clz, func, exception);
|
static void | debug(java.lang.String func, java.lang.String info)
SnmpQManager.debug(dbgTag, func, info);
|
static void | debug(java.lang.String func, java.lang.Throwable exception)
SnmpQManager.debug(dbgTag, func, exception);
|
public java.util.Vector | getAllOutstandingRequest(long range)
return newq.getAllOutstandingRequest(range) ;
|
public SnmpInformRequest | getTimeoutRequests()
return waitq.getTimeoutRequests() ;
|
static boolean | isDebugOn()
return Trace.isSelected(Trace.LEVEL_DEBUG, Trace.INFO_ADAPTOR_SNMP);
|
static boolean | isTraceOn()
return Trace.isSelected(Trace.LEVEL_TRACE, Trace.INFO_ADAPTOR_SNMP);
|
public void | removeRequest(SnmpInformRequest reqc)
newq.removeElement(reqc) ;
waitq.removeElement(reqc) ;
|
public SnmpInformRequest | removeRequest(long reqid)
SnmpInformRequest reqc = null ;
if ((reqc = newq.removeRequest(reqid)) == null)
reqc = waitq.removeRequest(reqid) ;
return reqc ;
|
public void | startQThreads()
if (timerQThread == null || timerQThread.isAlive() == false) {
timerQThread = new SnmpTimerServer(queueThreadGroup, this) ;
}
if (requestQThread == null || requestQThread.isAlive() == false) {
requestQThread = new SnmpSendServer(queueThreadGroup, this) ;
}
|
public void | stopQThreads()
((SnmpTimerServer)timerQThread).isBeingDestroyed = true;
waitq.isBeingDestroyed = true;
((SnmpSendServer)requestQThread).isBeingDestroyed = true;
newq.isBeingDestroyed = true;
if (timerQThread != null && timerQThread.isAlive() == true) {
((SnmpTimerServer)timerQThread).stopTimerServer();
}
waitq = null;
timerQThread = null;
if (requestQThread != null && requestQThread.isAlive() == true) {
((SnmpSendServer)requestQThread).stopSendServer();
}
newq = null;
requestQThread = null;
|
static void | trace(java.lang.String clz, java.lang.String func, java.lang.String info)
Trace.send(Trace.LEVEL_TRACE, Trace.INFO_ADAPTOR_SNMP, clz, func, info);
|
static void | trace(java.lang.String func, java.lang.String info)
SnmpQManager.trace(dbgTag, func, info);
|