- scheduleTimeout(TimeoutRunnable) - Method in class ch.dermitza.securenio.socket.timeout.threadpool.TimeoutExecutor
-
Deprecated.
Schedule a timeout that expires in the future.
- SecureSocket - Class in ch.dermitza.securenio.socket.secure
-
A secure socket implementation of
SocketIF
.
- SecureSocket(SocketChannel, SSLEngine, boolean, TaskWorker, TimeoutWorker, HandshakeListener, TimeoutListener) - Constructor for class ch.dermitza.securenio.socket.secure.SecureSocket
-
- selector - Variable in class ch.dermitza.securenio.AbstractSelector
-
The selector we'll be monitoring
- send(SocketIF, ByteBuffer) - Method in class ch.dermitza.securenio.AbstractSelector
-
Send an
ByteBuffer
over the specified
SocketIF
.
- send(PacketIF) - Method in class ch.dermitza.securenio.TCPClient
-
- send(SocketIF, PacketIF) - Method in class ch.dermitza.securenio.TCPServer
-
- send(PacketIF) - Method in class ch.dermitza.securenio.test.variablebyte.MultiSocketClient
-
- ServerTest - Class in ch.dermitza.securenio.test.singlebyte
-
- ServerTest(InetAddress, int, AbstractPacketWorker, boolean, boolean) - Constructor for class ch.dermitza.securenio.test.singlebyte.ServerTest
-
- ServerTest - Class in ch.dermitza.securenio.test.variablebyte
-
- ServerTest(InetAddress, int, AbstractPacketWorker, boolean, boolean) - Constructor for class ch.dermitza.securenio.test.variablebyte.ServerTest
-
- setByte(byte) - Method in interface ch.dermitza.securenio.test.variablebyte.TestPacketIF
-
- setByte(byte) - Method in class ch.dermitza.securenio.test.variablebyte.TestPacketOne
-
- setFloat(float) - Method in interface ch.dermitza.securenio.test.variablebyte.TestPacketIF
-
- setFloat(float) - Method in class ch.dermitza.securenio.test.variablebyte.TestPacketOne
-
- setLevel(Level) - Static method in class ch.dermitza.securenio.util.logging.LoggerHandler
-
Sets the logging level to all Logger
children of the parent
("SecureNIO") logger and to all their handlers.
- setLong(long) - Method in interface ch.dermitza.securenio.test.variablebyte.TestPacketIF
-
- setLong(long) - Method in class ch.dermitza.securenio.test.variablebyte.TestPacketOne
-
- setRunning(boolean) - Method in class ch.dermitza.securenio.AbstractSelector
-
- setRunning(boolean) - Method in class ch.dermitza.securenio.packet.worker.AbstractPacketWorker
-
- setRunning(boolean) - Method in class ch.dermitza.securenio.socket.secure.TaskWorker
-
- setRunning(boolean) - Method in class ch.dermitza.securenio.socket.timeout.worker.TimeoutWorker
-
- setString(String) - Method in interface ch.dermitza.securenio.test.variablebyte.TestPacketIF
-
- setString(String) - Method in class ch.dermitza.securenio.test.variablebyte.TestPacketOne
-
- setTaskPending(boolean) - Method in class ch.dermitza.securenio.socket.PlainSocket
-
- setTaskPending(boolean) - Method in class ch.dermitza.securenio.socket.secure.SecureSocket
-
Sets whether or not there is an SSLEngine
task pending, during an
SSL/TLS handshake.
- setTaskPending(boolean) - Method in interface ch.dermitza.securenio.socket.SocketIF
-
Sets whether or not there is an SSLEngine
task
pending, during an SSL/TLS handshake.
- setupEngine(String, int) - Method in class ch.dermitza.securenio.AbstractSelector
-
Sets up the underlying
SSLEngine
to be used with a
SecureSocket
implementation.
- setupSSL(String, String, char[], char[], String, String) - Method in class ch.dermitza.securenio.AbstractSelector
-
If the server/client has been initialized to use SSL/TLS, this method is
used to setup and initialize the SSL/TLS required parameters.
- shutdown() - Method in class ch.dermitza.securenio.socket.timeout.threadpool.TimeoutExecutor
-
Deprecated.
Shuts the underlying ExecutorService
down.
- SimplePacket - Class in ch.dermitza.securenio.packet.singlebyte
-
Simple packets are 1-byte packets not requiring any reconstruction.
- SimplePacket(String) - Constructor for class ch.dermitza.securenio.packet.singlebyte.SimplePacket
-
Create a new simple (one-byte long) packet
- SimplePacketWorker - Class in ch.dermitza.securenio.packet.worker
-
A packet worker implementation that ONLY handles single-byte packets.
- SimplePacketWorker() - Constructor for class ch.dermitza.securenio.packet.worker.SimplePacketWorker
-
- singleThreaded - Variable in class ch.dermitza.securenio.AbstractSelector
-
Whether the SSLEngine tasks required run in the AbstractSelector thread
- size() - Method in class ch.dermitza.securenio.socket.SocketContainer
-
Returns the number of
SelectableChannel
,
SocketIF
mappings in this map.
- SIZE_LENGTH - Static variable in class ch.dermitza.securenio.packet.worker.VariableLengthPacketWorker
-
The default packet size length
- SocketContainer - Class in ch.dermitza.securenio.socket
-
A container implementation containing
SelectableChannel
,
SocketIF
pairs.
- SocketContainer() - Constructor for class ch.dermitza.securenio.socket.SocketContainer
-
- SocketIF - Interface in ch.dermitza.securenio.socket
-
An interface that defines the underlying SocketChannel
implementations.
- SSL_TIMEOUT - Static variable in class ch.dermitza.securenio.socket.timeout.worker.Timeout
-
Unused TODO
- SSLSecurityTest - Class in ch.dermitza.securenio.test
-
- SSLSecurityTest() - Constructor for class ch.dermitza.securenio.test.SSLSecurityTest
-
- success() - Method in class ch.dermitza.securenio.test.singlebyte.ClientListener
-
- success() - Method in class ch.dermitza.securenio.test.variablebyte.ClientListener
-
- success() - Method in class ch.dermitza.securenio.test.variablebyte.MultiSocketClientListener
-