public class NIOSSLTransportServer extends TcpTransportServer
TcpTransportServer.TransportInfoallowLinkStealing, backlog, connectionTimeout, currentTransportCount, dynamicManagement, jmxPort, logWriterName, maximumConnections, maxInactivityDuration, maxInactivityDurationInitalDelay, minmumWireFormatVersion, selector, serverSocket, serverSocketFactory, socketBufferSize, socketHandlerThread, socketQueue, soTimeout, startLogging, trace, transportFactory, useQueueForAccept, verifyHostName, wireFormatFactorytransportOptions| Constructor and Description |
|---|
NIOSSLTransportServer(SSLContext context,
TcpTransportFactory transportFactory,
URI location,
ServerSocketFactory serverSocketFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected Transport |
createTransport(Socket socket,
WireFormat format)
Allow derived classes to override the Transport implementation that this transport server creates.
|
boolean |
isNeedClientAuth() |
boolean |
isSslServer()
For TransportServers that provide SSL connections to their connected peers they should
return true here if and only if they populate the ConnectionInfo command presented to
the Broker with the peers certificate chain so that the broker knows it can use that
information to authenticate the connected peer.
|
boolean |
isWantClientAuth() |
void |
setNeedClientAuth(boolean value) |
void |
setWantClientAuth(boolean value) |
bind, configureTransport, doHandleSocket, doStart, doStop, getBacklog, getConnectionTimeout, getCurrentTransportCount, getJmxPort, getLogWriterName, getMaximumConnections, getMaxInactivityDuration, getMaxInactivityDurationInitalDelay, getMinmumWireFormatVersion, getSocketAddress, getSocketBufferSize, getSoTimeout, getWireFormatFactory, handleSocket, isAllowLinkStealing, isDynamicManagement, isStartLogging, isTrace, isUseQueueForAccept, resolveHostName, run, setAllowLinkStealing, setBacklog, setBrokerInfo, setConnectionTimeout, setDynamicManagement, setJmxPort, setLogWriterName, setMaximumConnections, setMaxInactivityDuration, setMaxInactivityDurationInitalDelay, setMinmumWireFormatVersion, setSocketBufferSize, setSoTimeout, setStartLogging, setTrace, setUseQueueForAccept, setWireFormatFactory, started, stopped, toStringgetStackSize, isDaemon, isJoinOnStop, setDaemon, setJoinOnStop, setStackSizegetAcceptListener, getBindLocation, getConnectURI, onAcceptError, setAcceptListener, setBindLocation, setConnectURI, setTransportOptionaddServiceListener, dispose, isStarted, isStopped, isStopping, postStop, preStart, removeServiceListener, start, stoppublic NIOSSLTransportServer(SSLContext context, TcpTransportFactory transportFactory, URI location, ServerSocketFactory serverSocketFactory) throws IOException, URISyntaxException
IOExceptionURISyntaxExceptionprotected Transport createTransport(Socket socket, WireFormat format) throws IOException
TcpTransportServercreateTransport in class TcpTransportServerIOExceptionpublic boolean isSslServer()
TransportServerisSslServer in interface TransportServerisSslServer in class TcpTransportServerpublic boolean isNeedClientAuth()
public void setNeedClientAuth(boolean value)
public boolean isWantClientAuth()
public void setWantClientAuth(boolean value)
Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.