Uses of Class
org.snmp4j.smi.TcpAddress
-
Packages that use TcpAddress Package Description org.snmp4j.fluent org.snmp4j.smi Provides classes for the representation of SMIv1/v2 data types (which also includes some basic ASN.1 primitive data types).org.snmp4j.transport Provides transport protocol mappings for SNMP. -
-
Uses of TcpAddress in org.snmp4j.fluent
Methods in org.snmp4j.fluent with parameters of type TcpAddress Modifier and Type Method Description SnmpBuilder
SnmpBuilder. tcp(TcpAddress... listenAddresses)
Add theDefaultTcpTransportMapping
server mode TCP transport mappings for the specified listen addresses to theSnmp
instance to be built. -
Uses of TcpAddress in org.snmp4j.smi
Subclasses of TcpAddress in org.snmp4j.smi Modifier and Type Class Description class
TlsAddress
TheTlsAddress
represents a TLS transport addresses as defined by RFC 5953 SnmpTSLAddress textual convention.Constructors in org.snmp4j.smi with parameters of type TcpAddress Constructor Description TlsAddress(TcpAddress tcpAddress)
Create aTlsAddress
from aTcpAddress
. -
Uses of TcpAddress in org.snmp4j.transport
Classes in org.snmp4j.transport with type parameters of type TcpAddress Modifier and Type Class Description class
TcpTransportMapping<S extends AbstractSocketEntry<TcpAddress>>
TheTcpTransportMapping
is the abstract base class for TCP transport mappings.Fields in org.snmp4j.transport declared as TcpAddress Modifier and Type Field Description protected TcpAddress
TcpTransportMapping. tcpAddress
Methods in org.snmp4j.transport that return TcpAddress Modifier and Type Method Description protected TcpAddress
DefaultTcpTransportMapping.ServerThread. createIncomingAddress(SocketChannel sc)
TcpAddress
TcpTransportMapping. getAddress()
Deprecated.UseTcpTransportMapping.getListenAddress()
instead.TcpAddress
DefaultTcpTransportMapping. getListenAddress()
TcpAddress
TcpTransportMapping. getListenAddress()
TcpAddress
TLSTM. getListenAddress()
Methods in org.snmp4j.transport with parameters of type TcpAddress Modifier and Type Method Description protected DefaultTcpTransportMapping.SocketEntry
DefaultTcpTransportMapping.ServerThread. createSocketEntry(TcpAddress address, SocketChannel socketChannel, boolean useClientMode, TransportStateReference tmStateReference)
protected boolean
DefaultTcpTransportMapping.ServerThread. readMessage(SelectionKey sk, SocketChannel readChannel, TcpAddress incomingAddress, DefaultTcpTransportMapping.SocketEntry socketEntry)
protected void
DefaultTcpTransportMapping.ServerThread. readSnmpMessagePayload(SocketChannel readChannel, TcpAddress incomingAddress, DefaultTcpTransportMapping.SocketEntry entry, ByteBuffer byteBuffer)
DefaultTcpTransportMapping.SocketEntry
DefaultTcpTransportMapping.ServerThread. removeSocketEntry(TcpAddress incomingAddress)
void
DefaultTcpTransportMapping. sendMessage(TcpAddress address, byte[] message, TransportStateReference tmStateReference, long timeoutMillis, int maxRetries)
Sends a SNMP message to the supplied address.abstract void
TcpTransportMapping. sendMessage(TcpAddress address, byte[] message, TransportStateReference tmStateReference, long timeoutMillis, int maxRetries)
void
TLSTM. sendMessage(TcpAddress address, byte[] message, TransportStateReference tmStateReference, long timeoutMillis, int maxRetries)
Sends an SNMP message to the supplied address.protected void
DefaultTcpTransportMapping. socketClosedRemotely(SelectionKey sk, SocketChannel readChannel, TcpAddress incomingAddress)
Constructors in org.snmp4j.transport with parameters of type TcpAddress Constructor Description DefaultTcpTransportMapping(TcpAddress serverAddress)
Creates a default TCP transport mapping that binds to the given address (interface) on the local host and enables server mode (i.e.DefaultTcpTransportMapping(TcpAddress serverAddress, boolean serverEnabled)
Creates a default TCP transport mapping that binds to the given address (interface) on the local host and enables server mode on request.SocketEntry(TcpAddress address, SocketChannel socketChannel)
TcpTransportMapping(TcpAddress tcpAddress)
-