// cater for possible global -b option, if no override has been specified
InetAddress address = this.bindAddress != null ? this.bindAddress :
toInetAddress(System.getProperty(JBossASServerConfig.PROP_KEY_JBOSSAS_BIND_ADDRESS));
// the listening address
SnmpPeer peer = new SnmpPeer(address, this.port);
// set community strings and protocol version
peer.getParameters().setReadCommunity(this.readCommunity);
peer.getParameters().setWriteCommunity(this.writeCommunity);
peer.getParameters().setVersion(this.snmpVersion == SNMPV2 ? SnmpSMI.SNMPV2 : SnmpSMI.SNMPV1);
// Instantiate and initialize the RequestHandler implementation
requestHandler = (RequestHandler)Class.forName(
this.requestHandlerClassName, true, this.getClass().getClassLoader()).newInstance();
requestHandler.initialize(this.requestHandlerResName, this.getServer(), this.log, this.clock);