com.caucho.server.snmp
Class SnmpProtocol

java.lang.Object
  extended by com.caucho.network.listen.AbstractProtocol
      extended by com.caucho.server.snmp.SnmpProtocol
All Implemented Interfaces:
Protocol

public class SnmpProtocol
extends AbstractProtocol


Constructor Summary
SnmpProtocol()
           
 
Method Summary
 void addOid(Oid oid)
           
 ProtocolConnection createConnection(SocketLink connection)
          Create a Request object for the new thread.
 java.lang.String getCommunity()
           
 java.util.TreeMap<java.lang.String,Oid> getMib()
           
 void setCommunity(java.lang.String s)
           
 
Methods inherited from class com.caucho.network.listen.AbstractProtocol
getClassLoader, getProtocolName, setProtocolName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnmpProtocol

public SnmpProtocol()
Method Detail

addOid

public void addOid(Oid oid)
            throws java.lang.Exception
Throws:
java.lang.Exception

getMib

public java.util.TreeMap<java.lang.String,Oid> getMib()

getCommunity

public java.lang.String getCommunity()

setCommunity

public void setCommunity(java.lang.String s)

createConnection

public ProtocolConnection createConnection(SocketLink connection)
Description copied from class: AbstractProtocol
Create a Request object for the new thread.

Specified by:
createConnection in interface Protocol
Specified by:
createConnection in class AbstractProtocol