public class SnmpContextv2cPool extends SnmpContextPool implements SnmpContextv2cFace
bindAddr, community, context, contextPool, hostname, hostPort, socketTypeDEFAULT_COMMUNITYDEFAULT_PORT, MAXPDU, MSS, STANDARD_SOCKET, TCP_SOCKET| Constructor and Description |
|---|
SnmpContextv2cPool(String host,
int port) |
SnmpContextv2cPool(String host,
int port,
String typeSocket) |
SnmpContextv2cPool(String host,
int port,
String comm,
String typeSocket) |
SnmpContextv2cPool(String host,
int port,
String comm,
String bindAddress,
String typeSocket) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
protected SnmpContext |
getMatchingContext() |
int |
getVersion() |
addPdu, addRequestPduListener, addRequestPduListener, addRequestPduListener, addTrapListener, addTrapListener, addTrapListener, destroy, destroyPool, dumpContexts, encodePacket, getBindAddress, getCommunity, getHashKey, getHost, getPort, getReceivedFromHostAddress, getSendToHostAddress, getTypeSocket, isDestroyed, processIncomingPdu, removePdu, removeRequestPduListener, removeRequestPduListener, removeRequestPduListener, removeTrapListener, removeTrapListener, removeTrapListener, sendPacket, setCommunity, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCommunity, setCommunityaddPdu, addRequestPduListener, addRequestPduListener, addRequestPduListener, addTrapListener, addTrapListener, addTrapListener, destroy, encodePacket, getBindAddress, getHashKey, getHost, getPort, getReceivedFromHostAddress, getSendToHostAddress, getTypeSocket, isDestroyed, processIncomingPdu, removePdu, removeRequestPduListener, removeRequestPduListener, removeRequestPduListener, removeTrapListener, removeTrapListener, removeTrapListener, sendPacketpublic SnmpContextv2cPool(String host, int port) throws IOException
IOExceptionpublic SnmpContextv2cPool(String host, int port, String typeSocket) throws IOException
IOExceptionpublic SnmpContextv2cPool(String host, int port, String comm, String typeSocket) throws IOException
IOExceptionpublic SnmpContextv2cPool(String host, int port, String comm, String bindAddress, String typeSocket) throws IOException
IOExceptionpublic int getVersion()
getVersion in interface SnmpContextBasisFacegetVersion in class SnmpContextPoolprotected SnmpContext getMatchingContext() throws IOException
getMatchingContext in class SnmpContextPoolIOExceptionpublic Object clone() throws CloneNotSupportedException
clone in interface SnmpContextBasisFaceclone in class SnmpContextPoolCloneNotSupportedExceptionCopyright © 2019. All rights reserved.