public static final class ProtocolServer.Configuration extends Object
Constructor and Description |
---|
Configuration() |
Modifier and Type | Method and Description |
---|---|
int |
getBacklog() |
InetSocketAddress |
getBindAddress() |
Connection.ClosedCallback |
getClosedCallback() |
ConnectionHandler |
getConnectionHandler() |
MessageHandler |
getMessageHandler() |
Executor |
getReadExecutor() |
int |
getReadTimeout() |
ServerSocketFactory |
getSocketFactory() |
ThreadFactory |
getThreadFactory() |
void |
setBacklog(int backlog) |
void |
setBindAddress(InetSocketAddress bindAddress) |
void |
setCallback(Connection.ClosedCallback closedCallback) |
void |
setConnectionHandler(ConnectionHandler connectionHandler) |
void |
setMessageHandler(MessageHandler messageHandler) |
void |
setReadExecutor(Executor readExecutor) |
void |
setReadTimeout(int readTimeout) |
void |
setSocketFactory(ServerSocketFactory socketFactory) |
void |
setThreadFactory(ThreadFactory threadFactory) |
public ThreadFactory getThreadFactory()
public void setThreadFactory(ThreadFactory threadFactory)
public ServerSocketFactory getSocketFactory()
public void setSocketFactory(ServerSocketFactory socketFactory)
public ConnectionHandler getConnectionHandler()
public void setConnectionHandler(ConnectionHandler connectionHandler)
public MessageHandler getMessageHandler()
public void setMessageHandler(MessageHandler messageHandler)
public InetSocketAddress getBindAddress()
public void setBindAddress(InetSocketAddress bindAddress)
public int getBacklog()
public void setBacklog(int backlog)
public int getReadTimeout()
public void setReadTimeout(int readTimeout)
public Executor getReadExecutor()
public void setReadExecutor(Executor readExecutor)
public Connection.ClosedCallback getClosedCallback()
public void setCallback(Connection.ClosedCallback closedCallback)
Copyright © 2023 JBoss by Red Hat. All rights reserved.