HOME

com.ireasoning.core.jmx
Class SnmpAdaptorServer

java.lang.Object
  extended bycom.ireasoning.core.jmx.AdaptorServer
      extended bycom.ireasoning.core.jmx.SnmpAdaptorServer
All Implemented Interfaces:
AdaptorServerMBean, MBeanRegistration, Runnable, Service, ServiceMBean, State

public class SnmpAdaptorServer
extends AdaptorServer

JMX SNMP adaptor class


Field Summary
 
Fields inherited from class com.ireasoning.core.jmx.AdaptorServer
_dataHandler, _dataHandlerFactory, _ipAddress, _maxConnections, _mbeaninfo, _mbeanServer, _objectName, _port, _serverSocket, _socketServer, _startTime, _state, _transportLayerType, MAX_CONNECTIONS, RECV_BUF_SIZE, SNMP, TCP, TCP_TL1, TL1, UDP
 
Fields inherited from interface com.ireasoning.core.jmx.State
STARTED, STARTING, STATES, STOPPED, STOPPING, UNINITIALIZED
 
Constructor Summary
SnmpAdaptorServer(MBeanServer server, int port, com.ireasoning.core.network.DataHandler handler)
          Constructor
SnmpAdaptorServer(MBeanServer server, int port, com.ireasoning.core.network.DataHandlerFactory handlerFactory)
          Constructor
 
Method Summary
 String getProtocol()
          Return SNMP protocol name
 
Methods inherited from class com.ireasoning.core.jmx.AdaptorServer
getActiveClientCount, getHost, getName, getObjectName, getObjectName, getPort, getServerSocket, getState, getStateString, getUptime, postDeregister, postRegister, preDeregister, preRegister, run, setIpAddress, setMaxConnections, setPort, startService, stopService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnmpAdaptorServer

public SnmpAdaptorServer(MBeanServer server,
                         int port,
                         com.ireasoning.core.network.DataHandlerFactory handlerFactory)
Constructor

Parameters:
server - MBeanServer instance
port - server port number
handlerFactory - data handler factory

SnmpAdaptorServer

public SnmpAdaptorServer(MBeanServer server,
                         int port,
                         com.ireasoning.core.network.DataHandler handler)
Constructor

Parameters:
server - MBeanServer instance
port - server port number
handler - data handler
Method Detail

getProtocol

public String getProtocol()
Return SNMP protocol name

Specified by:
getProtocol in interface AdaptorServerMBean
Specified by:
getProtocol in class AdaptorServer

HOME

Copyright © 2002 iReasoning Inc. All Rights Reserved.