8687888990919293949596
temporaryDevice = new Device(deviceName); if ( retrieveRWCommunity ) return temporaryDevice.retrieveWriteCommunity(); else return temporaryDevice.retrieveReadCommunity(); } public Vector getTableData() { return snmp.getPortsVector(); }
432433434435436437438439440441442
String community; Device candidate; try { candidate = new Device(deviceField.getText()); community = candidate.retrieveReadCommunity(); if ( community != null ) { communityField.setText(community); } } catch (DBException e) { }