public class NIOSSLTransportServer extends TcpTransportServer
allowLinkStealing, backlog, connectionTimeout, currentTransportCount, dynamicManagement, logWriterName, maximumConnections, maxInactivityDuration, maxInactivityDurationInitalDelay, minmumWireFormatVersion, serverSocket, serverSocketFactory, socketBufferSize, socketHandlerThread, socketQueue, soTimeout, startLogging, trace, transportFactory, useQueueForAccept, wireFormatFactorytransportOptions| Constructor and Description |
|---|
NIOSSLTransportServer(javax.net.ssl.SSLContext context,
TcpTransportFactory transportFactory,
java.net.URI location,
javax.net.ServerSocketFactory serverSocketFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected Transport |
createTransport(java.net.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, toStringgetStackSize, isDaemon, isJoinOnStop, setDaemon, setJoinOnStop, setStackSizegetAcceptListener, getBindLocation, getConnectURI, onAcceptError, setAcceptListener, setBindLocation, setConnectURI, setTransportOptionaddServiceListener, dispose, isStarted, isStopped, isStopping, postStop, preStart, removeServiceListener, start, stoppublic NIOSSLTransportServer(javax.net.ssl.SSLContext context,
TcpTransportFactory transportFactory,
java.net.URI location,
javax.net.ServerSocketFactory serverSocketFactory)
throws java.io.IOException,
java.net.URISyntaxException
java.io.IOExceptionjava.net.URISyntaxExceptionprotected Transport createTransport(java.net.Socket socket, WireFormat format) throws java.io.IOException
TcpTransportServercreateTransport in class TcpTransportServerjava.io.IOExceptionpublic 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-2014 Red Hat, Inc.. All Rights Reserved.