com.caucho.server.snmp
Class SnmpProtocol
java.lang.Object
com.caucho.server.port.Protocol
com.caucho.server.snmp.SnmpProtocol
- All Implemented Interfaces:
- RequestFactory
public class SnmpProtocol
- extends Protocol
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SnmpProtocol
public SnmpProtocol()
setParent
public void setParent(Port port)
- Sets the containing port.
- Overrides:
setParent in class Protocol
getProtocolName
public java.lang.String getProtocolName()
- Returns the protocol name.
- Specified by:
getProtocolName in interface RequestFactory- Overrides:
getProtocolName in class Protocol
setProtocolName
public void setProtocolName(java.lang.String name)
- Sets the protocol name.
- Overrides:
setProtocolName in class Protocol
addOid
public void addOid(Oid oid)
throws java.lang.Exception
- Throws:
java.lang.Exception
getMib
public java.util.HashMap<java.lang.String,Oid> getMib()
getCommunity
public java.lang.String getCommunity()
setCommunity
public void setCommunity(java.lang.String s)
createRequest
public ServerRequest createRequest(Connection connection)
- Description copied from class:
Protocol
- Create a Request object for the new thread.
- Specified by:
createRequest in interface RequestFactory- Overrides:
createRequest in class Protocol