org.jboss.jmx.adaptor.snmp.trapd .TrapdService TrapdService public class TrapdService extends ServiceMBeanSupport implements TrapdServiceMBean (Code) MBean wrapper class that acts as an SNMP trap receiver/logger.
It logs traps as INFO messages - change log4j configuration to
redirect logging output. To reconfigure the listening port
the MBean needs to be stopped and re-started.
version: $Revision: 23955 $author: Spyros Pollatos author: Dimitris Andreadis
trapSession protected SnmpTrapSession trapSession(Code) The snmp session used to receive the traps
TrapdService public TrapdService()(Code) Empty CTOR
getBindAddress public String getBindAddress()(Code) Gets the interface that will be bound
the interface to bind
getPort public int getPort()(Code) Gets the port that will be used to receive traps
the port to listen for traps
setBindAddress public void setBindAddress(String host) throws UnknownHostException (Code) Sets the interface that will be bound
Parameters: host - the interface to bind
setPort public void setPort(int port)(Code) Sets the port that will be used to receive traps
Parameters: port - the port to listen for traps
startService protected void startService() throws Exception (Code) Performs service start-up by instantiating an SnmpTrapSession
stopService protected void stopService() throws Exception (Code) Performs service shutdown by stopping SnmpTrapSession