public class ServerConnection extends AbstractConnection
A generic listening server connection.
CRLF
Constructor and Description |
---|
ServerConnection(AbstractConnection ac)
Creates a connection based on a template connection.
|
ServerConnection(SocketChannel channel,
SecurityContext context)
Creates a server connection based on a server channel.
|
closeConnection, connect, do_handshake, do_teardown, enlargeApplicationBuffer, enlargeBuffer, enlargePacketBuffer, getDefaultTimeout, getEngine, getHostName, getPort, getProtocol, getSecurityContext, getSocketChannel, getTimeout, handleBufferUnderflow, handleEndOfStream, isShutdown, isTls, read, read, readln, readln, setDefaultTimeout, setEngine, setProtocol, setSecurityContext, setSocketChannel, setTimeout, shutdown, startTls, startTls, write, write, writeln, writeln
public ServerConnection(SocketChannel channel, SecurityContext context)
Creates a server connection based on a server channel.
channel
- the channel to be usedcontext
- the security context to be applied to the connectionpublic ServerConnection(AbstractConnection ac)
Creates a connection based on a template connection.
ac
- the template connectionCopyright © 2023. All rights reserved.