/** This will fire the specified request. */ void fireRequest(SnmpInformRequest req) { if (req != null && req.inProgress()) { if (isTraceOn()) { trace("fireRequest", "Firing inform request directly. -> " + req.getRequestId()); } req.action(); } }
final String reqListToString(Vector vec) { StringBuffer s = new StringBuffer(vec.size() * 100); Enumeration dbge = vec.elements(); while (dbge.hasMoreElements()) { SnmpInformRequest reqc = (SnmpInformRequest) dbge.nextElement(); s.append("InformRequestId -> "); s.append(reqc.getRequestId()); s.append(" / Destination -> "); s.append(reqc.getAddress()); s.append(". "); } String str = s.toString(); s = null; return str; }