Index

A B C D E F H I K L M N O P R S T U V W X 
All Classes and Interfaces|All Packages|Serialized Form

A

AbstractIpModem<I,O> - Class in swim.io
 
AbstractIpModem() - Constructor for class swim.io.AbstractIpModem
 
AbstractIpService - Class in swim.io
 
AbstractIpService() - Constructor for class swim.io.AbstractIpService
 
AbstractIpSocket - Class in swim.io
 
AbstractIpSocket() - Constructor for class swim.io.AbstractIpSocket
 
ACCEPT - Enum constant in enum class swim.io.FlowControl
accept enabled; connect, read, and write disabled.
ACCEPT_CONNECT - Enum constant in enum class swim.io.FlowControl
accept and connect enabled; read and write disabled.
ACCEPT_CONNECT_READ - Enum constant in enum class swim.io.FlowControl
accept, connect, and read enabled; write disabled.
ACCEPT_CONNECT_READ_WRITE - Enum constant in enum class swim.io.FlowControl
accept, connect, read, and write enabled.
ACCEPT_CONNECT_WRITE - Enum constant in enum class swim.io.FlowControl
accept, connect, and write enabled; read disabled.
ACCEPT_READ - Enum constant in enum class swim.io.FlowControl
accept and read enabled; connect and write disabled.
ACCEPT_READ_WRITE - Enum constant in enum class swim.io.FlowControl
accept, read, and write enabled; connect disabled.
ACCEPT_WRITE - Enum constant in enum class swim.io.FlowControl
accept and write enabled; connect and read disabled.
acceptDisabled() - Method in enum class swim.io.FlowControl
Returns an updated FlowControl with its accept operation disabled.
acceptEnabled() - Method in enum class swim.io.FlowControl
Returns an updated FlowControl with its accept operation enabled.
and(FlowControl) - Method in enum class swim.io.FlowControl
Returns the FlowControl with all operations enabled in this and that enabled.
and(FlowModifier) - Method in enum class swim.io.FlowModifier
Returns the FlowModifier with all modifications applied in this and that applied, with enable instructions taking precedence over conflicting disable instructions.

B

backlog - Variable in class swim.io.TransportSettings
 
backlog() - Method in class swim.io.TransportSettings
Returns the maximum length of the queue of incoming connections.
backlog(int) - Method in class swim.io.TransportSettings
Returns a copy of these TransportSettings configured with the given backlog for the maximum length of the queue of incoming connections.
become(IpSocket) - Method in class swim.io.AbstractIpModem
 
become(IpSocket) - Method in class swim.io.AbstractIpSocket
 
become(IpSocket) - Method in interface swim.io.IpModemContext
Rebinds the underlying IpSocketContext to a new socket implementation, thereby changing the IpSocket handler that receives network I/O callbacks.
become(IpSocket) - Method in interface swim.io.IpSocketContext
Rebinds this IpSocketContext to a new socket implementation, thereby changing the IpSocket handler that receives network I/O callbacks.
become(IpSocket) - Method in class swim.io.IpSocketModem
 
bindTcp(String, int, IpService) - Method in interface swim.io.IpInterface
 
bindTcp(String, int, IpService, IpSettings) - Method in interface swim.io.IpInterface
 
bindTcp(InetSocketAddress, IpService) - Method in interface swim.io.IpInterface
 
bindTcp(InetSocketAddress, IpService, IpSettings) - Method in interface swim.io.IpInterface
 
bindTcp(InetSocketAddress, IpService, IpSettings) - Method in interface swim.io.IpStation
 
bindTls(String, int, IpService) - Method in interface swim.io.IpInterface
 
bindTls(String, int, IpService, IpSettings) - Method in interface swim.io.IpInterface
 
bindTls(InetSocketAddress, IpService) - Method in interface swim.io.IpInterface
 
bindTls(InetSocketAddress, IpService, IpSettings) - Method in interface swim.io.IpInterface
 
bindTls(InetSocketAddress, IpService, IpSettings) - Method in interface swim.io.IpStation
 

C

canEqual(Object) - Method in class swim.io.IpSettings
Returns true if these IpSettings can possibly equal some other object.
canEqual(Object) - Method in class swim.io.TcpSettings
Returns true if these TcpSettings can possibly equal some other object.
canEqual(Object) - Method in class swim.io.TlsSettings
Returns true if these TlsSettings can possibly equal some other object.
canEqual(Object) - Method in class swim.io.TransportSettings
Returns true if these TransportSettings can possibly equal some other object.
channel() - Method in interface swim.io.Transport
Returns the NIO channel that this Transport manages.
cipherSuite() - Method in class swim.io.AbstractIpModem
 
cipherSuite() - Method in class swim.io.AbstractIpSocket
 
cipherSuite() - Method in interface swim.io.IpContext
Returns the cryptographic cipher suite used by the underlying network connection.
cipherSuite() - Method in class swim.io.IpSocketModem
 
cipherSuites - Variable in class swim.io.TlsSettings
 
cipherSuites() - Method in class swim.io.TlsSettings
Returns the set of permitted cipher suites for secure socket connections, or null if the system defaults should be used.
cipherSuites(Collection<String>) - Method in class swim.io.TlsSettings
Returns a copy of these TlsSettings configured with the given set of cipherSuites; cipherSuites may be null if the system defaults should be used.
clientAuth - Variable in class swim.io.TlsSettings
 
clientAuth() - Method in class swim.io.TlsSettings
Returns the authentication requirement for incoming connections.
clientAuth(ClientAuth) - Method in class swim.io.TlsSettings
Returns a copy of these TlsSettings configured with the given clientAuth authentication requirement for incoming connections.
ClientAuth - Enum Class in swim.io
Transport-layer security client authentication configuration.
close() - Method in class swim.io.AbstractIpModem
 
close() - Method in class swim.io.AbstractIpSocket
 
close() - Method in interface swim.io.IpModemContext
Closes the underlying network socket.
close() - Method in class swim.io.IpSocketModem
 
close() - Method in interface swim.io.IpSocketRef
Closes the underlying network socket.
close() - Method in interface swim.io.TransportRef
Closes the underlying I/O transport.
configure(Socket) - Method in class swim.io.IpSettings
Configures the socket with these IpSettings.
configure(Socket) - Method in class swim.io.TcpSettings
Configures the socket with these TcpSettings.
CONNECT - Enum constant in enum class swim.io.FlowControl
connect enabled; accept, read, and write disabled.
CONNECT_READ - Enum constant in enum class swim.io.FlowControl
connect and read enabled; accept and write disabled.
CONNECT_READ_WRITE - Enum constant in enum class swim.io.FlowControl
connect, read, and write enabled; accept disabled.
CONNECT_WRITE - Enum constant in enum class swim.io.FlowControl
connect and write enabled; accept and read disabled.
connectDisabled() - Method in enum class swim.io.FlowControl
Returns an updated FlowControl with its connect operation disabled.
connectEnabled() - Method in enum class swim.io.FlowControl
Returns an updated FlowControl with its connect operation enabled.
connectTcp(String, int, IpModem<I, O>) - Method in interface swim.io.IpInterface
 
connectTcp(String, int, IpModem<I, O>, IpSettings) - Method in interface swim.io.IpInterface
 
connectTcp(String, int, IpSocket) - Method in interface swim.io.IpInterface
 
connectTcp(String, int, IpSocket, IpSettings) - Method in interface swim.io.IpInterface
 
connectTcp(InetSocketAddress, IpModem<I, O>) - Method in interface swim.io.IpInterface
 
connectTcp(InetSocketAddress, IpModem<I, O>, IpSettings) - Method in interface swim.io.IpInterface
 
connectTcp(InetSocketAddress, IpSocket) - Method in interface swim.io.IpInterface
 
connectTcp(InetSocketAddress, IpSocket, IpSettings) - Method in interface swim.io.IpInterface
 
connectTcp(InetSocketAddress, IpSocket, IpSettings) - Method in interface swim.io.IpStation
 
connectTls(String, int, IpModem<I, O>) - Method in interface swim.io.IpInterface
 
connectTls(String, int, IpModem<I, O>, IpSettings) - Method in interface swim.io.IpInterface
 
connectTls(String, int, IpSocket) - Method in interface swim.io.IpInterface
 
connectTls(String, int, IpSocket, IpSettings) - Method in interface swim.io.IpInterface
 
connectTls(InetSocketAddress, IpModem<I, O>) - Method in interface swim.io.IpInterface
 
connectTls(InetSocketAddress, IpModem<I, O>, IpSettings) - Method in interface swim.io.IpInterface
 
connectTls(InetSocketAddress, IpSocket) - Method in interface swim.io.IpInterface
 
connectTls(InetSocketAddress, IpSocket, IpSettings) - Method in interface swim.io.IpInterface
 
connectTls(InetSocketAddress, IpSocket, IpSettings) - Method in interface swim.io.IpStation
 
context - Variable in class swim.io.AbstractIpModem
 
context - Variable in class swim.io.AbstractIpService
 
context - Variable in class swim.io.AbstractIpSocket
 
context - Variable in class swim.io.IpSocketModem
 
copy(boolean, boolean, int, int, int, int) - Method in class swim.io.TcpSettings
Returns a new TcpSettings instance with the given options.
copy(int, long, long) - Method in class swim.io.TransportSettings
Returns a new TransportSettings instance with the given options.
copy(SSLContext, ClientAuth, Collection<String>, Collection<String>) - Method in class swim.io.TlsSettings
Returns a new TlsSettings instance with the given options.
copy(TcpSettings, TlsSettings) - Method in class swim.io.IpSettings
Returns a new IpSettings instance with the given options.
create(ClientAuth, Collection<String>, Collection<String>) - Static method in class swim.io.TlsSettings
 
create(TcpSettings) - Static method in class swim.io.IpSettings
 
create(TlsSettings) - Static method in class swim.io.IpSettings
 
createModem() - Method in class swim.io.AbstractIpService
 
createSocket() - Method in class swim.io.AbstractIpService
 
createSocket() - Method in interface swim.io.IpService
Returns a new IpSocket binding to handle an incoming network connection.

D

debug(Output<T>) - Method in enum class swim.io.ClientAuth
 
debug(Output<T>) - Method in enum class swim.io.FlowControl
 
debug(Output<T>) - Method in enum class swim.io.FlowModifier
 
debug(Output<T>) - Method in class swim.io.IpSettings
 
debug(Output<T>) - Method in class swim.io.TcpSettings
 
debug(Output<T>) - Method in class swim.io.TlsSettings
 
debug(Output<T>) - Method in class swim.io.TransportSettings
 
didAccept(IpSocket) - Method in class swim.io.AbstractIpService
 
didAccept(IpSocket) - Method in interface swim.io.IpService
Lifecycle callback invoked by the service context after the underlying network listener has accepted a new socket connection.
didBecome(IpSocket) - Method in class swim.io.AbstractIpModem
 
didBecome(IpSocket) - Method in class swim.io.AbstractIpSocket
 
didBecome(IpSocket) - Method in interface swim.io.IpModem
Lifecycle callback invoked by the modem context after it has become a new socket implementation.
didBecome(IpSocket) - Method in interface swim.io.IpSocket
Lifecycle callback invoked by the socket context after it has become a new socket implementation.
didBecome(IpSocket) - Method in class swim.io.IpSocketModem
 
didBind() - Method in class swim.io.AbstractIpService
 
didBind() - Method in interface swim.io.IpService
Lifecycle callback invoked by the service context after the underlying network listener has bound to a port.
didClose() - Method in interface swim.io.Transport
Lifecycle callback invoked by the transport context after the underlying transport has closed.
didConnect() - Method in class swim.io.AbstractIpModem
 
didConnect() - Method in class swim.io.AbstractIpSocket
 
didConnect() - Method in interface swim.io.IpModem
Lifecycle callback invoked by the modem context after the underlying network socket has opened a connection.
didConnect() - Method in interface swim.io.IpSocket
Lifecycle callback invoked by the socket context after the underlying network socket has opened a connection.
didConnect() - Method in class swim.io.IpSocketModem
 
didDisconnect() - Method in class swim.io.AbstractIpModem
 
didDisconnect() - Method in class swim.io.AbstractIpSocket
 
didDisconnect() - Method in interface swim.io.IpModem
Lifecycle callback invoked by the socket context after the underlying network connection has disconnected.
didDisconnect() - Method in interface swim.io.IpSocket
Lifecycle callback invoked by the socket context after the underlying network connection has disconnected.
didDisconnect() - Method in class swim.io.IpSocketModem
 
didFail(Throwable) - Method in class swim.io.AbstractIpModem
 
didFail(Throwable) - Method in class swim.io.AbstractIpService
 
didFail(Throwable) - Method in class swim.io.AbstractIpSocket
 
didFail(Throwable) - Method in interface swim.io.IpModem
Lifecycle callback invoked by the modem context when the underlying network socket fails by throwing an error.
didFail(Throwable) - Method in interface swim.io.IpService
Lifecycle callback invoked by the service context when the underlying network listener fails by throwing an error.
didFail(Throwable) - Method in interface swim.io.IpSocket
Lifecycle callback invoked by the socket context when the underlying network socket fails by throwing an error.
didFail(Throwable) - Method in class swim.io.IpSocketModem
 
didFail(Throwable) - Method in class swim.io.Station
Lifecycle callback invoked if the selector thread throws a fatal error.
didFail(Throwable) - Method in interface swim.io.Transport
Lifecycle callback invoked by the transport context when the underlying transport fails by throwing an error.
didRead(I) - Method in class swim.io.AbstractIpModem
 
didRead(I) - Method in interface swim.io.IpModem
I/O callback invoked by the modem context with the completed value of the current read Decoder after it has transitioned to the done state.
didSecure() - Method in class swim.io.AbstractIpModem
 
didSecure() - Method in class swim.io.AbstractIpSocket
 
didSecure() - Method in interface swim.io.IpModem
Lifecycle callback invoked by the modem context after the underlying network socket has established a secure connection.
didSecure() - Method in interface swim.io.IpSocket
Lifecycle callback invoked by the socket context after the underlying network socket has established a secure connection.
didSecure() - Method in class swim.io.IpSocketModem
 
didStart() - Method in class swim.io.Station
Lifecycle callback invoked after the selector thread starts.
didStop() - Method in class swim.io.Station
Lifecycle callback invoked after the selector thread stops.
didTimeout() - Method in class swim.io.AbstractIpModem
 
didTimeout() - Method in class swim.io.AbstractIpSocket
 
didTimeout() - Method in interface swim.io.IpModem
Lifecycle callback invoked by the modem context after the underlying network connection has timed out.
didTimeout() - Method in interface swim.io.IpSocket
Lifecycle callback invoked by the socket context after the underlying network connection has timed out.
didTimeout() - Method in class swim.io.IpSocketModem
 
didTimeout() - Method in interface swim.io.Transport
Lifecycle callback invoked by the transport context after the underlying transport has timed out.
didUnbind() - Method in class swim.io.AbstractIpService
 
didUnbind() - Method in interface swim.io.IpService
Lifecycle callback invoked by the service context after the underlying network listener has been unbound.
didWrite() - Method in class swim.io.AbstractIpSocket
 
didWrite() - Method in interface swim.io.IpSocket
I/O callback invoked by the socket context after the underlying network socket has completed writing all data in its outputBuffer.
didWrite() - Method in class swim.io.IpSocketModem
 
didWrite() - Method in interface swim.io.Transport
I/O callback invoked by the transport context after the underlying transport has completed writing all data in its writeBuffer, thereby completing the current write operation.
didWrite(O) - Method in class swim.io.AbstractIpModem
 
didWrite(O) - Method in interface swim.io.IpModem
I/O callback invoked by the modem context with the completed value of the current write Encoder after it has transitioned to the done state.
DISABLE_READ - Enum constant in enum class swim.io.FlowModifier
read operation should be disabled; write operation should not be modified.
DISABLE_READ_ENABLE_WRITE - Enum constant in enum class swim.io.FlowModifier
read operation should be disabled; write operation should be enabled.
DISABLE_READ_WRITE - Enum constant in enum class swim.io.FlowModifier
read and write operations should be disabled.
DISABLE_WRITE - Enum constant in enum class swim.io.FlowModifier
write operation should be disabled; read operation should not be modified.
DISABLE_WRITE_ENABLE_READ - Enum constant in enum class swim.io.FlowModifier
write operation should be disabled; read operation should be enabled.
doAccept() - Method in interface swim.io.Transport
I/O callback invoked by the transport context when the underlying transport is ready to complete an accept operation.
doConnect() - Method in interface swim.io.Transport
I/O callback invoked by the transport context when the underlying transport is ready to complete a connect operation.
doRead() - Method in class swim.io.AbstractIpModem
 
doRead() - Method in class swim.io.AbstractIpSocket
 
doRead() - Method in interface swim.io.IpModem
I/O callback invoked by the modem context asking this IpModem to provide an input Decoder by invoking the modem context's read method.
doRead() - Method in interface swim.io.IpSocket
I/O callback invoked by the socket context asking this IpSocket to read input data out of the socket context's inputBuffer.
doRead() - Method in class swim.io.IpSocketModem
 
doRead() - Method in interface swim.io.Transport
I/O callback invoked by the transport context asking this Transport to read input data out of the readBuffer, thereby completing a read operation from the underlying I/O transport.
doWrite() - Method in class swim.io.AbstractIpModem
 
doWrite() - Method in class swim.io.AbstractIpSocket
 
doWrite() - Method in interface swim.io.IpModem
I/O callback invoked by the modem context asking this IpModem to provide an output Encoder by invoking the modem context's write method.
doWrite() - Method in interface swim.io.IpSocket
I/O callback invoked by the socket context asking this IpSocket to write output data into the socket context's outputBuffer.
doWrite() - Method in class swim.io.IpSocketModem
 
doWrite() - Method in interface swim.io.Transport
I/O callback invoked by the transport context asking this Transport to write output data into the writeBuffer, thereby initiating a write operation to the underlying I/O transport.

E

ENABLE_READ - Enum constant in enum class swim.io.FlowModifier
read operation should be enabled; write operation should not be modified.
ENABLE_READ_WRITE - Enum constant in enum class swim.io.FlowModifier
read and write operations should be enabled.
ENABLE_WRITE - Enum constant in enum class swim.io.FlowModifier
write operation should be enabled; read operation should not be modified.
equals(Object) - Method in class swim.io.IpSettings
 
equals(Object) - Method in class swim.io.TcpSettings
 
equals(Object) - Method in class swim.io.TlsSettings
 
equals(Object) - Method in class swim.io.TransportSettings
 

F

FlowContext - Interface in swim.io
Flow-controlled network channel context.
flowControl() - Method in class swim.io.AbstractIpModem
 
flowControl() - Method in class swim.io.AbstractIpService
 
flowControl() - Method in class swim.io.AbstractIpSocket
 
flowControl() - Method in interface swim.io.FlowContext
Returns the current FlowControl state of the underlying network channel.
flowControl() - Method in class swim.io.IpSocketModem
 
flowControl(FlowControl) - Method in class swim.io.AbstractIpModem
 
flowControl(FlowControl) - Method in class swim.io.AbstractIpService
 
flowControl(FlowControl) - Method in class swim.io.AbstractIpSocket
 
flowControl(FlowControl) - Method in interface swim.io.FlowContext
Enqueues an atomic replacement of the underlying network channel's flow control state with a new flowControl.
flowControl(FlowControl) - Method in class swim.io.IpSocketModem
 
flowControl(FlowModifier) - Method in class swim.io.AbstractIpModem
 
flowControl(FlowModifier) - Method in class swim.io.AbstractIpService
 
flowControl(FlowModifier) - Method in class swim.io.AbstractIpSocket
 
flowControl(FlowModifier) - Method in interface swim.io.FlowContext
Enqueues an atomic modification to the underlying network channel's flow control state by applying a flowModifier delta.
flowControl(FlowModifier) - Method in class swim.io.IpSocketModem
 
FlowControl - Enum Class in swim.io
Network channel flow state, controlling accept, connect, read, and write operations.
FlowModifier - Enum Class in swim.io
Network channel flow delta, modifying read and write operations.
form() - Static method in enum class swim.io.ClientAuth
Returns the structural Form of ClientAuth.
form() - Static method in class swim.io.IpSettings
Returns the structural Form of IpSettings.
form() - Static method in class swim.io.TcpSettings
Returns the structural Form of TcpSettings.
form() - Static method in class swim.io.TlsSettings
Returns the structural Form of TlsSettings.
form() - Static method in class swim.io.TransportSettings
Returns the structural Form of TransportSettings.
from(String) - Static method in enum class swim.io.ClientAuth
Returns the ClientAuth with the given case-insensitive name, one of none, want, or need.
fromSelectorOps(int) - Static method in enum class swim.io.FlowControl
Returns the FlowControl corresponding to the given SelectionKey interest set.

H

hashCode() - Method in class swim.io.IpSettings
 
hashCode() - Method in class swim.io.TcpSettings
 
hashCode() - Method in class swim.io.TlsSettings
 
hashCode() - Method in class swim.io.TransportSettings
 

I

idleInterval - Variable in class swim.io.TransportSettings
 
idleInterval() - Method in class swim.io.TransportSettings
Returns the number of milliseconds between transport idle checks.
idleInterval(long) - Method in class swim.io.TransportSettings
Returns a copy of these TransportSettings configured with the given idleInterval for transport idle checks.
idleTimeout - Variable in class swim.io.TransportSettings
 
idleTimeout() - Method in class swim.io.AbstractIpModem
 
idleTimeout() - Method in class swim.io.AbstractIpSocket
 
idleTimeout() - Method in interface swim.io.IpModem
Returns the number of idle milliseconds after which this IpModem should be closed due to inactivity.
idleTimeout() - Method in interface swim.io.IpSocket
Returns the number of idle milliseconds after which this IpSocket should be closed due to inactivity.
idleTimeout() - Method in class swim.io.IpSocketModem
 
idleTimeout() - Method in interface swim.io.Transport
Returns the number of idle milliseconds after which this Transport should be closed due to inactivity.
idleTimeout() - Method in class swim.io.TransportSettings
Returns the default number of idle milliseconds after which a transport should be timed out due to inactivity.
idleTimeout(long) - Method in class swim.io.TransportSettings
Returns a copy of these TransportSettings configured with the given idleTimeout for transport idle timeouts
inputBuffer() - Method in class swim.io.AbstractIpSocket
 
inputBuffer() - Method in interface swim.io.IpSocketContext
Returns the buffer into which input data is read by the underlying network socket.
IpContext - Interface in swim.io
IP network connection context.
IpEndpoint - Class in swim.io
Network interface for binding and connecting IP sockets and modems.
IpEndpoint(Stage) - Constructor for class swim.io.IpEndpoint
 
IpEndpoint(Stage, IpSettings) - Constructor for class swim.io.IpEndpoint
 
IpEndpoint(Station) - Constructor for class swim.io.IpEndpoint
 
IpEndpoint(Station, IpSettings) - Constructor for class swim.io.IpEndpoint
 
IpException - Exception in swim.io
 
IpException() - Constructor for exception swim.io.IpException
 
IpException(String) - Constructor for exception swim.io.IpException
 
IpException(String, Throwable) - Constructor for exception swim.io.IpException
 
IpException(Throwable) - Constructor for exception swim.io.IpException
 
IpInterface - Interface in swim.io
 
IpModem<I,O> - Interface in swim.io
Network socket binding that provides asynchronous I/O decoders and encoders for a non-blocking NIO network channel.
ipModemContext() - Method in class swim.io.AbstractIpModem
 
ipModemContext() - Method in interface swim.io.IpModem
Returns the socket modem context to which this IpModem is bound; returns null if this IpModem is unbound.
IpModemContext<I,O> - Interface in swim.io
Network socket context that manages asynchronous I/O decoders and encoders for a non-blocking NIO network channel.
IpService - Interface in swim.io
Network service listener that handles asynchronous I/O operations for a non-blocking NIO server socket channel.
ipServiceContext() - Method in class swim.io.AbstractIpService
 
ipServiceContext() - Method in interface swim.io.IpService
Returns the network listener context to which this IpService is bound; returns null if this IpService is unbound.
IpServiceContext - Interface in swim.io
Network listener context that manages asynchronous I/O operations for a non-blocking NIO server socket channel.
IpServiceRef - Interface in swim.io
External handle to a network IpService listener.
ipSettings - Variable in class swim.io.IpEndpoint
 
ipSettings() - Method in class swim.io.AbstractIpModem
 
ipSettings() - Method in class swim.io.AbstractIpService
 
ipSettings() - Method in class swim.io.AbstractIpSocket
 
ipSettings() - Method in class swim.io.IpEndpoint
 
ipSettings() - Method in interface swim.io.IpInterface
 
ipSettings() - Method in interface swim.io.IpModemContext
Returns the configuration parameters that govern the underlying network socket.
ipSettings() - Method in interface swim.io.IpServiceContext
Returns the configuration parameters that govern the underlying network listener.
ipSettings() - Method in interface swim.io.IpSocketContext
Returns the configuration parameters that govern the underlying network socket.
ipSettings() - Method in class swim.io.IpSocketModem
 
IpSettings - Class in swim.io
IP Socket configuration parameters.
IpSettings(TcpSettings, TlsSettings) - Constructor for class swim.io.IpSettings
 
IpSocket - Interface in swim.io
Network socket binding that handles asynchronous I/O operations for a non-blocking NIO network channel.
ipSocketContext() - Method in class swim.io.AbstractIpSocket
 
ipSocketContext() - Method in interface swim.io.IpSocket
Returns the network socket context to which this IpSocket is bound; returns null if this IpSocket is unbound.
ipSocketContext() - Method in class swim.io.IpSocketModem
 
IpSocketContext - Interface in swim.io
Network socket context that manages asynchronous I/O operations for a non-blocking NIO network channel.
IpSocketModem<I,O> - Class in swim.io
Adapter from a flow-controlled IpSocket to a decoder/encoder controlled IpModem.
IpSocketModem(IpModem<I, O>) - Constructor for class swim.io.IpSocketModem
 
IpSocketRef - Interface in swim.io
External handle to a network IpSocket.
IpStation - Interface in swim.io
 
isAcceptEnabled() - Method in enum class swim.io.FlowControl
Returns true if the accept operation is enabled.
isClient() - Method in class swim.io.AbstractIpModem
 
isClient() - Method in class swim.io.AbstractIpSocket
 
isClient() - Method in interface swim.io.IpContext
Returns true if the underlying network channel initiated an outgoing connection.
isClient() - Method in class swim.io.IpSocketModem
 
isConnected() - Method in class swim.io.AbstractIpModem
 
isConnected() - Method in class swim.io.AbstractIpSocket
 
isConnected() - Method in interface swim.io.IpContext
Returns true if the underlying network channel is currently connected.
isConnected() - Method in class swim.io.IpSocketModem
 
isConnectEnabled() - Method in enum class swim.io.FlowControl
Returns true if the connect operation is enabled.
isReadDisabled() - Method in enum class swim.io.FlowModifier
Returns true if the read operation should be disabled.
isReadEnabled() - Method in enum class swim.io.FlowControl
Returns true if the read operation is enabled.
isReadEnabled() - Method in enum class swim.io.FlowModifier
Returns true if the read operation should be enabled.
isSecure() - Method in class swim.io.AbstractIpModem
 
isSecure() - Method in class swim.io.AbstractIpSocket
 
isSecure() - Method in interface swim.io.IpContext
Returns true if the underlying network transport is encrypted.
isSecure() - Method in class swim.io.IpSocketModem
 
isServer() - Method in class swim.io.AbstractIpModem
 
isServer() - Method in class swim.io.AbstractIpSocket
 
isServer() - Method in interface swim.io.IpContext
Returns true if the underlying network channel accepted an incoming connection.
isServer() - Method in class swim.io.IpSocketModem
 
isWriteDisabled() - Method in enum class swim.io.FlowModifier
Returns true if the write operation should be disabled.
isWriteEnabled() - Method in enum class swim.io.FlowControl
Returns true if the write operation is enabled.
isWriteEnabled() - Method in enum class swim.io.FlowModifier
Returns true if the write operation should be enabled.

K

keepAlive - Variable in class swim.io.TcpSettings
 
keepAlive() - Method in class swim.io.TcpSettings
Returns true if TCP should be configured with the SO_KEEPALIVE socket option to send keepalive probes to prevent idle connections from timing out.
keepAlive(boolean) - Method in class swim.io.TcpSettings
Returns a copy of these TcpSettings configured with the given keepAlive value for the SO_KEEPALIVE socket option.

L

localAddress() - Method in class swim.io.AbstractIpModem
 
localAddress() - Method in class swim.io.AbstractIpService
 
localAddress() - Method in class swim.io.AbstractIpSocket
 
localAddress() - Method in interface swim.io.IpContext
Returns the IP address and port of the local endpoint of the underlying network connection.
localAddress() - Method in interface swim.io.IpServiceRef
Returns the IP address and port to which the underlying network listener is bound.
localAddress() - Method in class swim.io.IpSocketModem
 
localCertificates() - Method in class swim.io.AbstractIpModem
 
localCertificates() - Method in class swim.io.AbstractIpSocket
 
localCertificates() - Method in interface swim.io.IpContext
Returns the certificate chain used to authenticate the local endpoint of the underlying network connection.
localCertificates() - Method in class swim.io.IpSocketModem
 
localPrincipal() - Method in class swim.io.AbstractIpModem
 
localPrincipal() - Method in class swim.io.AbstractIpSocket
 
localPrincipal() - Method in interface swim.io.IpContext
Returns the authenticated identity of the local endpoint of the underlying network connection.
localPrincipal() - Method in class swim.io.IpSocketModem
 

M

modify(FlowModifier) - Method in enum class swim.io.FlowControl
Returns an updated FlowControl with its read and write operations patched by a flowModifier delta.

N

NEED - Enum constant in enum class swim.io.ClientAuth
Client authentication required.
noDelay - Variable in class swim.io.TcpSettings
 
noDelay() - Method in class swim.io.TcpSettings
Returns true if TCP should be configured with the TCP_NODELAY socket option to disable Nagle's algorithm.
noDelay(boolean) - Method in class swim.io.TcpSettings
Returns a copy of these TcpSettings configured with the given noDelay value for the TCP_NODELAY socket option.
NONE - Enum constant in enum class swim.io.ClientAuth
Client authentication disabled.
not() - Method in enum class swim.io.FlowControl
Returns the FlowControl with all operations enabled in this disabled, and all operations disabled in this enabled.
not() - Method in enum class swim.io.FlowModifier
Returns the FlowModifier with all applied modifications in this unapplied, and all unapplied operations in this applied, with enable instructions taking precedence over conflicting disable instructions.

O

or(FlowControl) - Method in enum class swim.io.FlowControl
Returns the FlowControl with all operations enabled in this or that enabled.
or(FlowModifier) - Method in enum class swim.io.FlowModifier
Returns the FlowModifier with all modifications applied in this or that applied, with enable instructions taking precedence over conflicting disable instructions.
outputBuffer() - Method in class swim.io.AbstractIpSocket
 
outputBuffer() - Method in interface swim.io.IpSocketContext
Returns the buffer from which output data is written by the underlying network socket.

P

protocols - Variable in class swim.io.TlsSettings
 
protocols() - Method in class swim.io.TlsSettings
Returns the set of permitted secure socket layer protocols, or null if the system defaults should be used.
protocols(Collection<String>) - Method in class swim.io.TlsSettings
Returns a copy of these TlsSettings configured with the given set of protocols; protocols may be null if the system defaults should be used.

R

read(Decoder<I2>) - Method in class swim.io.AbstractIpModem
 
read(Decoder<I2>) - Method in interface swim.io.IpModemContext
Enqueues a read decoder to which input data will be asynchronously fed.
read(Decoder<I2>) - Method in class swim.io.IpSocketModem
 
READ - Enum constant in enum class swim.io.FlowControl
read enabled; accept, connect, and write disabled.
READ_WRITE - Enum constant in enum class swim.io.FlowControl
read and write enabled; accept and connect disabled.
readBuffer() - Method in interface swim.io.Transport
Returns the buffer into which input data should be read by the underlying I/O transport.
readBufferSize - Variable in class swim.io.TcpSettings
 
readBufferSize() - Method in class swim.io.TcpSettings
Returns the size in bytes of the per-socket userspace buffers into which data is received.
readBufferSize(int) - Method in class swim.io.TcpSettings
Returns a copy of these TcpSettings configured with the given readBufferSize for per-socket userspace read buffers.
readDisabled() - Method in enum class swim.io.FlowControl
Returns an updated FlowControl with its read operation disabled.
readEnabled() - Method in enum class swim.io.FlowControl
Returns an updated FlowControl with its read operation enabled.
receiveBufferSize - Variable in class swim.io.TcpSettings
 
receiveBufferSize() - Method in class swim.io.TcpSettings
Returns the value of the SO_RCVBUF socket option with which TCP should be configured to control the size of receive buffers.
receiveBufferSize(int) - Method in class swim.io.TcpSettings
Returns a copy of these TcpSettings configured with the given receiveBufferSize value for the SO_RCVBUF socket option.
remoteAddress() - Method in class swim.io.AbstractIpModem
 
remoteAddress() - Method in class swim.io.AbstractIpSocket
 
remoteAddress() - Method in interface swim.io.IpContext
Returns the IP address and port of the remote endpoint of the underlying network connection.
remoteAddress() - Method in class swim.io.IpSocketModem
 
remoteCertificates() - Method in class swim.io.AbstractIpModem
 
remoteCertificates() - Method in class swim.io.AbstractIpSocket
 
remoteCertificates() - Method in interface swim.io.IpContext
Returns the certificate chain used to authenticate the remote endpoint of the underlying network connection.
remoteCertificates() - Method in class swim.io.IpSocketModem
 
remotePrincipal() - Method in class swim.io.AbstractIpModem
 
remotePrincipal() - Method in class swim.io.AbstractIpSocket
 
remotePrincipal() - Method in interface swim.io.IpContext
Returns the authenticated identity of the remote endpoint of the underlying network connection.
remotePrincipal() - Method in class swim.io.IpSocketModem
 
RESELECT - Enum constant in enum class swim.io.FlowModifier
read and write operations should not be modified.

S

securityProtocol() - Method in class swim.io.AbstractIpModem
 
securityProtocol() - Method in class swim.io.AbstractIpSocket
 
securityProtocol() - Method in interface swim.io.IpContext
Returns the name of the transport-layer security protocol used by the underlying network connection.
securityProtocol() - Method in class swim.io.IpSocketModem
 
sendBufferSize - Variable in class swim.io.TcpSettings
 
sendBufferSize() - Method in class swim.io.TcpSettings
Returns the value of the SO_SNDBUF socket option with which TCP should be configured to control the size of send buffers.
sendBufferSize(int) - Method in class swim.io.TcpSettings
Returns a copy of these TcpSettings configured with the given sendBufferSize value for the SO_SNDBUF socket option.
setIpModemContext(IpModemContext<I, O>) - Method in class swim.io.AbstractIpModem
 
setIpModemContext(IpModemContext<I, O>) - Method in interface swim.io.IpModem
Sets the socket modem context to which this IpModem is bound.
setIpServiceContext(IpServiceContext) - Method in class swim.io.AbstractIpService
 
setIpServiceContext(IpServiceContext) - Method in interface swim.io.IpService
Sets the network listener context to which this IpService is bound.
setIpSocketContext(IpSocketContext) - Method in class swim.io.AbstractIpSocket
 
setIpSocketContext(IpSocketContext) - Method in interface swim.io.IpSocket
Sets the network socket context to which this IpSocket is bound.
setIpSocketContext(IpSocketContext) - Method in class swim.io.IpSocketModem
 
setTransportContext(TransportContext) - Method in interface swim.io.Transport
Sets the I/O transport context to which this Transport is bound.
sslContext - Variable in class swim.io.TlsSettings
 
sslContext() - Method in class swim.io.TlsSettings
Returns the factory used to create secure sockets.
sslContext(SSLContext) - Method in class swim.io.TlsSettings
Returns a copy of these TlsSettings configured with the given sslContext for creating secure sockets.
stage - Variable in class swim.io.Station
Stage on which to execute I/O tasks.
stage() - Method in class swim.io.IpEndpoint
 
stage() - Method in class swim.io.Station
Returns the Stage on which this Station executes I/O tasks.
standard() - Static method in class swim.io.IpSettings
Returns the default IpSettings instance.
standard() - Static method in class swim.io.TcpSettings
Returns the default TcpSettings instance.
standard() - Static method in class swim.io.TlsSettings
Returns the default TlsSettings instance.
standard() - Static method in class swim.io.TransportSettings
Returns the default TransportSettings instance.
start() - Method in class swim.io.IpEndpoint
 
start() - Method in class swim.io.Station
Ensures that this Station is up and running, starting up the selector thread if it has not yet been started.
station - Variable in class swim.io.IpEndpoint
 
station() - Method in class swim.io.IpEndpoint
 
station() - Method in interface swim.io.IpStation
 
Station - Class in swim.io
Asynchronous I/O multiplexor.
Station(Stage) - Constructor for class swim.io.Station
 
Station(Stage, TransportSettings) - Constructor for class swim.io.Station
 
StationException - Exception in swim.io
Thrown when a Station encounters an error.
StationException() - Constructor for exception swim.io.StationException
 
StationException(String) - Constructor for exception swim.io.StationException
 
StationException(String, Throwable) - Constructor for exception swim.io.StationException
 
StationException(Throwable) - Constructor for exception swim.io.StationException
 
stop() - Method in class swim.io.IpEndpoint
 
stop() - Method in class swim.io.Station
Ensures that this Station has been permanently stopped, shutting down the selector thread, if it's currently running.
swim.io - module swim.io
Explicitly flow-controlled, non-blocking, parallel I/O engine, with swim-codec-modulated socket modems, and TCP and TLS transports.
swim.io - package swim.io
Explicitly flow-controlled, non-blocking, parallel I/O engine, with swim-codec-modulated socket modems, and TCP and TLS transports.

T

tcpSettings - Variable in class swim.io.IpSettings
 
tcpSettings() - Method in class swim.io.IpSettings
Returns the TCP socket configuration.
tcpSettings(TcpSettings) - Method in class swim.io.IpSettings
Returns a copy of these IpSettings configured with the given tcpSettings.
TcpSettings - Class in swim.io
TCP configuration parameters.
TcpSettings(boolean, boolean, int, int, int, int) - Constructor for class swim.io.TcpSettings
 
tlsSettings - Variable in class swim.io.IpSettings
 
tlsSettings() - Method in class swim.io.IpSettings
Returns the TLS socket configuration.
tlsSettings(TlsSettings) - Method in class swim.io.IpSettings
Returns a copy of these IpSettings configured with the given tlsSettings.
TlsSettings - Class in swim.io
TLS configuration parameters.
TlsSettings(SSLContext, ClientAuth, Collection<String>, Collection<String>) - Constructor for class swim.io.TlsSettings
 
toSelectorOps() - Method in enum class swim.io.FlowControl
Returns the SelectionKey interest set corresponding to this FlowControl.
toString() - Method in class swim.io.IpSettings
 
toString() - Method in class swim.io.TcpSettings
 
toString() - Method in class swim.io.TlsSettings
 
toString() - Method in class swim.io.TransportSettings
 
toValue() - Method in class swim.io.IpSettings
Returns a structural Value representing these IpSettings.
toValue() - Method in class swim.io.TcpSettings
Returns a structural Value representing these TcpSettings.
toValue() - Method in class swim.io.TlsSettings
Returns a structural Value representing these TlsSettings.
toValue() - Method in class swim.io.TransportSettings
Returns a structural Value representing these TransportSettings.
transport(Transport, FlowControl) - Method in class swim.io.Station
Binds the given transport to this Station, initializing the transport's context with the given flowControl state.
Transport - Interface in swim.io
I/O transport binding that handles asynchronous I/O operations for a non-blocking NIO channel.
transportContext() - Method in interface swim.io.Transport
Returns the I/O transport context to which this Transport is bound; returns null if this Transport is unbound.
TransportContext - Interface in swim.io
I/O transport context that manages asynchronous I/O operations for a non-blocking NIO channel.
transportDidAccept(Transport) - Method in class swim.io.Station
Introspection callback invoked after a transport completes an accept operation.
transportDidClose(Transport) - Method in class swim.io.Station
Introspection callback invoked after a transport closes.
transportDidConnect(Transport) - Method in class swim.io.Station
Introspection callback invoked after a transport completes a connect operation.
transportDidFail(Transport, Throwable) - Method in class swim.io.Station
Introspection callback invoked after a transport operation fails by throwing an error.
transportDidTimeout(Transport) - Method in class swim.io.Station
Introspection callback invoked after a transport times out.
TransportRef - Interface in swim.io
External handle to an I/O Transport.
transportSettings - Variable in class swim.io.Station
Transport configuration parameters.
transportSettings() - Method in class swim.io.Station
Returns the transport configuration parameters that govern this Station's regsitered transports.
transportSettings() - Method in interface swim.io.TransportContext
Returns the configuration parameters that govern the underlying I/O transport.
transportSettings(TransportSettings) - Method in class swim.io.Station
Updates the transport configuration parameters that govern this Station's registered transports, and returns this.
TransportSettings - Class in swim.io
Transport configuration parameters.
TransportSettings(int, long, long) - Constructor for class swim.io.TransportSettings
 

U

unbind() - Method in class swim.io.AbstractIpService
 
unbind() - Method in interface swim.io.IpServiceRef
Unbinds the underlying network listener.

V

valueOf(String) - Static method in enum class swim.io.ClientAuth
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class swim.io.FlowControl
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class swim.io.FlowModifier
Returns the enum constant of this class with the specified name.
values() - Static method in enum class swim.io.ClientAuth
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class swim.io.FlowControl
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class swim.io.FlowModifier
Returns an array containing the constants of this enum class, in the order they are declared.

W

WAIT - Enum constant in enum class swim.io.FlowControl
accept, connect, read, and write disabled.
WANT - Enum constant in enum class swim.io.ClientAuth
Client authentication requested.
willBecome(IpSocket) - Method in class swim.io.AbstractIpModem
 
willBecome(IpSocket) - Method in class swim.io.AbstractIpSocket
 
willBecome(IpSocket) - Method in interface swim.io.IpModem
Lifecycle callback invoked by the modem context before it has become a new socket implementation.
willBecome(IpSocket) - Method in interface swim.io.IpSocket
Lifecycle callback invoked by the socket context before it has become a new socket implementation.
willBecome(IpSocket) - Method in class swim.io.IpSocketModem
 
willConnect() - Method in class swim.io.AbstractIpModem
 
willConnect() - Method in class swim.io.AbstractIpSocket
 
willConnect() - Method in interface swim.io.IpModem
Lifecycle callback invoked by the modem context before the underlying network socket attempts to open a connection.
willConnect() - Method in interface swim.io.IpSocket
Lifecycle callback invoked by the socket context before the underlying network socket attempts to open a connection.
willConnect() - Method in class swim.io.IpSocketModem
 
willSecure() - Method in class swim.io.AbstractIpModem
 
willSecure() - Method in class swim.io.AbstractIpSocket
 
willSecure() - Method in interface swim.io.IpModem
Lifecycle callback invoked by the modem context before the underlying network socket establishes a secure connection.
willSecure() - Method in interface swim.io.IpSocket
Lifecycle callback invoked by the socket context before the underlying network socket establishes a secure connection.
willSecure() - Method in class swim.io.IpSocketModem
 
willStart() - Method in class swim.io.Station
Lifecycle callback invoked before the selector thread starts.
willStop() - Method in class swim.io.Station
Lifecycle callback invoked before the selector thread stops.
write(Encoder<?, O2>) - Method in class swim.io.AbstractIpModem
 
write(Encoder<?, O2>) - Method in interface swim.io.IpModemContext
Enqueues a write encoder from which output data will be asynchronously pulled.
write(Encoder<?, O2>) - Method in class swim.io.IpSocketModem
 
WRITE - Enum constant in enum class swim.io.FlowControl
write enabled; accept, connect, and read disabled.
writeBuffer() - Method in interface swim.io.Transport
Returns the buffer from which output data should be written by the underlying I/O transport.
writeBufferSize - Variable in class swim.io.TcpSettings
 
writeBufferSize() - Method in class swim.io.TcpSettings
Returns the size in bytes of the per-socket userspace buffers from which data is sent.
writeBufferSize(int) - Method in class swim.io.TcpSettings
Returns a copy of these TcpSettings configured with the given writeBufferSize for per-socket userspace write buffers.
writeDisabled() - Method in enum class swim.io.FlowControl
Returns an updated FlowControl with its write operation disabled.
writeEnabled() - Method in enum class swim.io.FlowControl
Returns an updated FlowControl with its write operation enabled.

X

xor(FlowControl) - Method in enum class swim.io.FlowControl
Returns the FlowControl with all operations enabled in this or that—but not both—enabled.
xor(FlowModifier) - Method in enum class swim.io.FlowModifier
Returns the FlowModifier with all modifications applied in this or that—but not both—applied, with enable instructions taking precedence over conflicting disable instructions.
A B C D E F H I K L M N O P R S T U V W X 
All Classes and Interfaces|All Packages|Serialized Form