- read(SelectionKey) - Method in class ch.dermitza.securenio.AbstractSelector
-
Reads data from the socket associated with the given
SelectionKey
.
- read(ByteBuffer) - Method in class ch.dermitza.securenio.socket.PlainSocket
-
Pass-through implementation of
SocketChannel.read(ByteBuffer buffer)
- read(ByteBuffer) - Method in class ch.dermitza.securenio.socket.secure.SecureSocket
-
Reads a sequence of bytes from this channel into the given buffer.
- read(ByteBuffer) - Method in interface ch.dermitza.securenio.socket.SocketIF
-
Pass-through implementation of
SocketChannel.read(ByteBuffer buffer)
- readCipherSuites(String) - Static method in class ch.dermitza.securenio.util.FileUtil
-
Deprecated.
Read SSL/TLS cipher suites from a file.
- readProtocols(String) - Static method in class ch.dermitza.securenio.util.FileUtil
-
Deprecated.
Read SSL/TLS protocols from a file.
- reconstruct(ByteBuffer) - Method in interface ch.dermitza.securenio.packet.PacketIF
-
Reconstruct this PacketIF from the given ByteBuffer
- reconstruct(ByteBuffer) - Method in class ch.dermitza.securenio.packet.singlebyte.SimplePacket
-
Simple packets are 1-byte packets and thus do not require any
reconstruction
- reconstruct(ByteBuffer) - Method in class ch.dermitza.securenio.test.variablebyte.TestPacketOne
-
- register(Selector, int) - Method in class ch.dermitza.securenio.socket.PlainSocket
-
Pass-through implementation of
SelectableChannel.register(Selector sel, int ops)
- register(Selector, int) - Method in class ch.dermitza.securenio.socket.secure.SecureSocket
-
Pass-through implementation of
SelectableChannel.register(Selector sel, int ops)
- register(Selector, int) - Method in interface ch.dermitza.securenio.socket.SocketIF
-
Pass-through implementation of
SelectableChannel.register(Selector sel, int ops)
- remove(T) - Method in class ch.dermitza.securenio.util.MinContainer
-
Remove the given element from the underlying HashSet
and
recalculate the minimum element contained within.
- removeListener(PacketListener) - Method in class ch.dermitza.securenio.AbstractSelector
-
- removeListener(PacketListener) - Method in class ch.dermitza.securenio.packet.worker.AbstractPacketWorker
-
- removeSocket(SelectableChannel) - Method in class ch.dermitza.securenio.socket.SocketContainer
-
Remove the
SocketIF
that is paired to the given
SelectableChannel
key.
- run() - Method in class ch.dermitza.securenio.AbstractSelector
-
Initializes the selector, the worker threads, and initiates a select
procedure that can be either server or client based.
- run() - Method in class ch.dermitza.securenio.packet.worker.AbstractPacketWorker
-
- run() - Method in class ch.dermitza.securenio.socket.secure.TaskWorker
-
- run() - Method in class ch.dermitza.securenio.socket.timeout.threadpool.TimeoutRunnable
-
Deprecated.
- run() - Method in class ch.dermitza.securenio.socket.timeout.worker.TimeoutWorker
-
- run() - Method in class ch.dermitza.securenio.test.singlebyte.ClientTest
-
- run() - Method in class ch.dermitza.securenio.test.variablebyte.ClientTest
-
- run() - Method in class ch.dermitza.securenio.test.variablebyte.MultiSocketClientTest
-