public class NIOSSLTransportServer extends TcpTransportServer
allowLinkStealing, backlog, connectionTimeout, currentTransportCount, dynamicManagement, logWriterName, maximumConnections, maxInactivityDuration, maxInactivityDurationInitalDelay, minmumWireFormatVersion, selector, serverSocket, serverSocketFactory, socketBufferSize, socketHandlerThread, socketQueue, soTimeout, startLogging, trace, transportFactory, useQueueForAccept, wireFormatFactory
transportOptions
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, doStart, doStop, getBacklog, getConnectionTimeout, getLogWriterName, getMaximumConnections, getMaxInactivityDuration, getMaxInactivityDurationInitalDelay, getMinmumWireFormatVersion, getSocketAddress, getSocketBufferSize, getSoTimeout, getWireFormatFactory, handleSocket, isAllowLinkStealing, isDynamicManagement, isStartLogging, isTrace, isUseQueueForAccept, resolveHostName, run, setAllowLinkStealing, setBacklog, setBrokerInfo, setConnectionTimeout, setDynamicManagement, setLogWriterName, setMaximumConnections, setMaxInactivityDuration, setMaxInactivityDurationInitalDelay, setMinmumWireFormatVersion, setSocketBufferSize, setSoTimeout, setStartLogging, setTrace, setUseQueueForAccept, setWireFormatFactory, started, stopped, toString
getStackSize, isDaemon, isJoinOnStop, setDaemon, setJoinOnStop, setStackSize
getAcceptListener, getBindLocation, getConnectURI, onAcceptError, setAcceptListener, setBindLocation, setConnectURI, setTransportOption
addServiceListener, dispose, isStarted, isStopped, isStopping, postStop, preStart, removeServiceListener, start, stop
public NIOSSLTransportServer(SSLContext context, TcpTransportFactory transportFactory, URI location, ServerSocketFactory serverSocketFactory) throws IOException, URISyntaxException
IOException
URISyntaxException
protected Transport createTransport(Socket socket, WireFormat format) throws IOException
TcpTransportServer
createTransport
in class TcpTransportServer
IOException
public boolean isSslServer()
TransportServer
isSslServer
in interface TransportServer
isSslServer
in class TcpTransportServer
public boolean isNeedClientAuth()
public void setNeedClientAuth(boolean value)
public boolean isWantClientAuth()
public void setWantClientAuth(boolean value)
Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.