java.lang.Object
org.snmp4j.transport.AbstractServerSocket<TcpAddress>
org.snmp4j.transport.AbstractSocketEntry<TcpAddress>
org.snmp4j.transport.DefaultTcpTransportMapping.SocketEntry
- Enclosing class:
DefaultTcpTransportMapping
protected static class DefaultTcpTransportMapping.SocketEntry
extends AbstractSocketEntry<TcpAddress>
-
Field Summary
Fields inherited from class org.snmp4j.transport.AbstractSocketEntry
socketChannel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Close the (TLS) session associated with the socket entry.Gets the unique identifier of the associated (TLS) session.void
setReadBuffer
(ByteBuffer byteBuffer) toString()
Methods inherited from class org.snmp4j.transport.AbstractSocketEntry
addMessage, addRegistration, getMessages, getSocketChannel, hasMessage, insertMessages, isRegistered, nextBusyLoop, nextMessage, removeRegistration, resetBusyLoops
Methods inherited from class org.snmp4j.transport.AbstractServerSocket
getLastUse, getPeerAddress, getSocketTimeout, isHandshakeFinished, setHandshakeFinished, setSocketTimeout, used
-
Constructor Details
-
SocketEntry
-
-
Method Details
-
closeSession
public void closeSession()Description copied from class:AbstractSocketEntry
Close the (TLS) session associated with the socket entry.- Specified by:
closeSession
in classAbstractSocketEntry<TcpAddress>
-
getSessionID
Description copied from class:AbstractSocketEntry
Gets the unique identifier of the associated (TLS) session.- Specified by:
getSessionID
in classAbstractSocketEntry<TcpAddress>
- Returns:
- a session identifier.
-
setReadBuffer
-
getReadBuffer
-
toString
- Specified by:
toString
in classAbstractSocketEntry<TcpAddress>
-