| Interface | Description |
|---|---|
| Callback<Type> |
Abstracts a piece of code that will receive an argument
of type
Type. |
| Future<ReturnType> |
About the result of an asynchronous task.
|
| Procedure |
A function that is called with no arguments and returning nothing
|
| Class | Description |
|---|---|
| Acceptor<SocketType extends Socket> |
Allows to accept connections from others hosts.
|
| FutureImpl<ReturnType> |
My implementation of the Future
|
| IOService |
Reprents a number of threads that executes the same Event Loop for I/O
operations and scheduled blocks of code.
|
| Serializable |
Objects that can be serialized to and from a
ByteBuf,
to send and receive objects of this type |
| Socket |
A Socket from any protocol which has the basic read and write
operations.
|
| SocketUtil |
Some utilities when reading and writing stream based sockets
|
| TCPAcceptor |
Accepts TCP connections, and creates
TCPSocket for any new one. |
| TCPSocket |
TCP Socket for connexions to servers.
|
| UDPSocket |
UDP socket for any kind of operation with them.
|
| Exception | Description |
|---|---|
| DataNotRepresentsObject |
When deserializing an object, if the data inside a
ByteBuf
doesn't match to the object serialization, this exception is thrown. |
| SocketNotCreated |
When tries to call a method that requires the
Socket
to be created. |
| UDPSocket.NotEnoughSpaceForPacketException |
When there isn't enough space to save a Datagram, this exception is raised to notify
the programmer to pass a more bigger buffer.
|