Class DefaultTcpTransportMapping.SocketEntry
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>
- Version:
- 3.0
- Author:
- Frank Fock
-
Field Summary
Fields inherited from class AbstractSocketEntry
socketChannel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidClose the (TLS) session associated with the socket entry.Gets the unique identifier of the associated (TLS) session.voidsetReadBuffer(ByteBuffer byteBuffer) toString()Methods inherited from class AbstractSocketEntry
addMessage, addRegistration, getMessages, getSocketChannel, hasMessage, insertMessages, isRegistered, nextBusyLoop, nextMessage, removeRegistration, resetBusyLoopsMethods inherited from class AbstractServerSocket
getLastUse, getPeerAddress, getSocketTimeout, isHandshakeFinished, setHandshakeFinished, setSocketTimeout, used
-
Constructor Details
-
SocketEntry
-
-
Method Details
-
closeSession
public void closeSession()Description copied from class:AbstractSocketEntryClose the (TLS) session associated with the socket entry.- Specified by:
closeSessionin classAbstractSocketEntry<TcpAddress>
-
getSessionID
Description copied from class:AbstractSocketEntryGets the unique identifier of the associated (TLS) session.- Specified by:
getSessionIDin classAbstractSocketEntry<TcpAddress>- Returns:
- a session identifier.
-
setReadBuffer
-
getReadBuffer
-
toString
- Specified by:
toStringin classAbstractSocketEntry<TcpAddress>
-