return null;
}
String ipAddress = address.toString();
HashMap<String, String> oid = new HashMap<String, String>();
ResponseEvent response = null;
TransportMapping transport = null;
String oidValue = "0";
//int count = 0;
Properties p = new Properties();
final File f = new File(IO.userDir, "MIB");
String descr;
// read from File MIB the oids to request over SNMP
Logger.debug("Loading MIB");
FileInputStream fis = null;
try {
fis = new FileInputStream(f);
p.load(fis);
} catch (IOException e) {
Logger.error("Failed to open MIB.", e);
} finally {
try {
fis.close();
} catch (Exception e) {
}
}// end reading
try {
transport = new DefaultUdpTransportMapping();
transport.listen();
} catch (IOException e) {
}
// Create Target Address object
CommunityTarget comtarget = new CommunityTarget();
comtarget.setCommunity(new OctetString(Settings.get("snmp.community", "public")));