public interface NetworkServerProvider
Modifier and Type | Method and Description |
---|---|
org.xnio.channels.AcceptingChannel<? extends org.xnio.channels.ConnectedStreamChannel> |
createServer(SocketAddress bindAddress,
org.xnio.OptionMap optionMap,
ServerAuthenticationProvider authenticationProvider,
org.xnio.ssl.XnioSsl xnioSsl)
Create a network server.
|
org.xnio.channels.AcceptingChannel<? extends org.xnio.channels.ConnectedStreamChannel> createServer(SocketAddress bindAddress, org.xnio.OptionMap optionMap, ServerAuthenticationProvider authenticationProvider, org.xnio.ssl.XnioSsl xnioSsl) throws IOException
bindAddress
- the address to bind tooptionMap
- the server optionsauthenticationProvider
- the authentication providerxnioSsl
- the XNIO SSL provider to use for this server, or null
to automatically configure a new provider as neededIOException
- if the server could not be createdCopyright © 2014 JBoss, a division of Red Hat, Inc.. All Rights Reserved.