Uses of Class
org.snmp4j.smi.TcpAddress
Packages that use TcpAddress
Package
Description
Provides classes for the representation of SMIv1/v2 data types (which also
includes some basic ASN.1 primitive data types).
Provides transport protocol mappings for SNMP.
-
Uses of TcpAddress in org.snmp4j.fluent
Methods in org.snmp4j.fluent with parameters of type TcpAddressModifier and TypeMethodDescriptionSnmpBuilder.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.smiModifier and TypeClassDescriptionclass
TheTlsAddress
represents a TLS transport addresses as defined by RFC 5953 SnmpTSLAddress textual convention.Constructors in org.snmp4j.smi with parameters of type TcpAddressModifierConstructorDescriptionTlsAddress(TcpAddress tcpAddress)
Create aTlsAddress
from aTcpAddress
. -
Uses of TcpAddress in org.snmp4j.transport
Fields in org.snmp4j.transport declared as TcpAddressMethods in org.snmp4j.transport that return TcpAddressModifier and TypeMethodDescriptionprotected TcpAddress
DefaultTcpTransportMapping.createIncomingAddress(Socket s)
TcpTransportMapping.getAddress()
Returns the transport address that is used by this transport mapping for sending and receiving messages.DefaultTcpTransportMapping.getListenAddress()
TcpTransportMapping.getListenAddress()
TLSTM.getListenAddress()
protected TcpAddress
AbstractTcpServerThread.writeData(SelectionKey sk, TcpAddress incomingAddress)
Methods in org.snmp4j.transport with parameters of type TcpAddressModifier and TypeMethodDescriptionboolean
TcpTransportMapping.close(TcpAddress remoteAddress)
Closes a connection to the supplied remote address, if it is open.protected void
AbstractTcpServerThread.connectChannel(SelectionKey sk, TcpAddress incomingAddress)
protected boolean
DefaultTcpTransportMapping.ServerThread.readMessage(SelectionKey sk, SocketChannel readChannel, TcpAddress incomingAddress)
protected void
DefaultTcpTransportMapping.ServerThread.readSnmpMessagePayload(SocketChannel readChannel, TcpAddress incomingAddress, DefaultTcpTransportMapping.SocketEntry entry, ByteBuffer byteBuffer)
abstract S
AbstractTcpServerThread.removeSocketEntry(TcpAddress incomingAddress)
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)
protected TcpAddress
AbstractTcpServerThread.writeData(SelectionKey sk, TcpAddress incomingAddress)
Method parameters in org.snmp4j.transport with type arguments of type TcpAddressModifier and TypeMethodDescriptionprotected void
TcpTransportMapping.timeoutSocket(AbstractServerSocket<TcpAddress> entry)
Constructors in org.snmp4j.transport with parameters of type TcpAddressModifierConstructorDescriptionAbstractSocketEntry(TcpAddress address, Socket socket)
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, Socket socket)
TcpTransportMapping(TcpAddress tcpAddress)