Skip navigation links
A B C D F G I L M O P R S T U W 

A

accept() - Method in class me.melchor9000.net.Acceptor
Waits until someone is connected to the acceptor, and returns its Socket.
acceptAsync() - Method in class me.melchor9000.net.Acceptor
Accepts a connection from any client and returns the Socket.
acceptAsync() - Method in class me.melchor9000.net.TCPAcceptor
 
Acceptor<SocketType extends Socket> - Class in me.melchor9000.net
Allows to accept connections from others hosts.
addAdditional(DNSResourceRecord) - Method in class me.melchor9000.net.resolver.DNSMessage
 
addAnswer(DNSResourceRecord) - Method in class me.melchor9000.net.resolver.DNSMessage
 
addAuthority(DNSResourceRecord) - Method in class me.melchor9000.net.resolver.DNSMessage
 
addOnDataReceivedListener(Callback<Socket>) - Method in class me.melchor9000.net.Socket
Adds a Callback that will be called every time some data is available to read.
addQuery(DNSQuery) - Method in class me.melchor9000.net.resolver.DNSMessage
 

B

bind(SocketAddress) - Method in class me.melchor9000.net.Acceptor
Binds the acceptor to the SocketAddress.
bind(InetAddress, int) - Method in class me.melchor9000.net.Acceptor
Binds the acceptor to the InetAddress and port port.
bind(int) - Method in class me.melchor9000.net.Acceptor
Binds the acceptor to the port port.
bind(SocketAddress) - Method in class me.melchor9000.net.Socket
Binds the socket to a local address.
bind() - Method in class me.melchor9000.net.Socket
Binds the socket to any port in the default interface without connecting to some remote endpoint.
bind(SocketAddress) - Method in class me.melchor9000.net.TCPSocket
 
bind(SocketAddress) - Method in class me.melchor9000.net.UDPSocket
 
bootstrap - Variable in class me.melchor9000.net.Acceptor
 
bootstrap - Variable in class me.melchor9000.net.Socket
 
byteBufSize() - Method in class me.melchor9000.net.resolver.DNSA
 
byteBufSize() - Method in class me.melchor9000.net.resolver.DNSAAAA
 
byteBufSize() - Method in class me.melchor9000.net.resolver.DNSCNAME
 
byteBufSize() - Method in class me.melchor9000.net.resolver.DNSMessage
 
byteBufSize() - Method in class me.melchor9000.net.resolver.DNSMX
 
byteBufSize() - Method in class me.melchor9000.net.resolver.DNSQuery
 
byteBufSize() - Method in class me.melchor9000.net.resolver.DNSResourceRecord
 
byteBufSize() - Method in class me.melchor9000.net.Serializable
 
bytes - Variable in class me.melchor9000.net.UDPSocket.Packet
The number of bytes of valid data
bytesRead - Variable in class me.melchor9000.net.Socket
 
bytesWrote - Variable in class me.melchor9000.net.Socket
 

C

call(Type) - Method in interface me.melchor9000.net.Callback
Executes the block of code with the argument arg.
call() - Method in interface me.melchor9000.net.Procedure
Executes the block of code.
call(Socket) - Method in class me.melchor9000.net.resolver.DNSResolver
 
Callback<Type> - Interface in me.melchor9000.net
Abstracts a piece of code that will receive an argument of type Type.
cancel(boolean) - Method in interface me.melchor9000.net.Future
Attempts to cancel the task.
cancel(boolean) - Method in class me.melchor9000.net.FutureImpl
 
cancel() - Method in class me.melchor9000.net.IOService
Stops the event loop
cancelAsync() - Method in class me.melchor9000.net.IOService
Stops the event loop asynchronously, useful when calling this inside a Callback.
cause() - Method in interface me.melchor9000.net.Future
If the task is done and is not successful, then this method gets the cause of the failure.
cause() - Method in class me.melchor9000.net.FutureImpl
 
channel - Variable in class me.melchor9000.net.Acceptor
 
channel - Variable in class me.melchor9000.net.Socket
 
checkSocketCreated(String) - Method in class me.melchor9000.net.Acceptor
Call this method to check if the socket is created, if it's not, then throws a SocketNotCreated exception.
checkSocketCreated(String) - Method in class me.melchor9000.net.Socket
Call this method to check if the socket is created, if it's not, then throws a SocketNotCreated exception.
close() - Method in class me.melchor9000.net.Acceptor
 
close() - Method in class me.melchor9000.net.resolver.DNSResolver
 
close() - Method in class me.melchor9000.net.Socket
Closes the socket after the current operation is done.
close() - Method in class me.melchor9000.net.TCPSocket
 
closeAsync() - Method in class me.melchor9000.net.Acceptor
Stops the acceptor asynchronously.
closeAsync() - Method in class me.melchor9000.net.resolver.DNSResolver
Closes the resolver asynchronously
closeAsync() - Method in class me.melchor9000.net.Socket
Closes the socket after the current operation is done, and then calls cbk with the result, either successful or failure.
closeAsync() - Method in class me.melchor9000.net.TCPSocket
 
connect(SocketAddress) - Method in class me.melchor9000.net.Socket
Binds the socket to a random port and connects to the remote endpoint.
connect(InetAddress, int) - Method in class me.melchor9000.net.Socket
Binds the socket to a random port and connects to the remote endpoint as address and port.
connect(String, int) - Method in class me.melchor9000.net.Socket
Binds the socket to a random port and connects to the remote endpoint as hostName and port.
connect(SocketAddress) - Method in class me.melchor9000.net.TCPSocket
 
connect(SocketAddress) - Method in class me.melchor9000.net.UDPSocket
 
connectAsync(SocketAddress) - Method in class me.melchor9000.net.Socket
Binds the socket to a random port and connects to the remote endpoint asynchronously.
connectAsync(InetAddress, int) - Method in class me.melchor9000.net.Socket
Binds the socket to a random port and connects to the remote endpoint as address and port.
connectAsync(String, int) - Method in class me.melchor9000.net.Socket
Binds the socket to a random port and connects to the remote endpoint as hostName and port.
connectAsync(SocketAddress) - Method in class me.melchor9000.net.TCPSocket
 
connectAsync(SocketAddress) - Method in class me.melchor9000.net.UDPSocket
 
createFuture(Procedure) - Method in class me.melchor9000.net.Acceptor
 
createFuture(Future<ReturnType>) - Method in class me.melchor9000.net.Acceptor
 
createFuture(Procedure) - Method in class me.melchor9000.net.Socket
 
createFuture(Future<ReturnType>) - Method in class me.melchor9000.net.Socket
 

D

data() - Method in exception me.melchor9000.net.DataNotRepresentsObject
 
data - Variable in class me.melchor9000.net.UDPSocket.Packet
Your ByteBuf of data
DataNotRepresentsObject - Exception in me.melchor9000.net
When deserializing an object, if the data inside a ByteBuf doesn't match to the object serialization, this exception is thrown.
DataNotRepresentsObject(String, ByteBuf) - Constructor for exception me.melchor9000.net.DataNotRepresentsObject
 
DNSA - Class in me.melchor9000.net.resolver
DNSResourceData for A type
DNSAAAA - Class in me.melchor9000.net.resolver
Support for IPv6 hosts
DNSCNAME - Class in me.melchor9000.net.resolver
DNSResourceData for CNAME type
DNSMessage - Class in me.melchor9000.net.resolver
A message for DNS protocol.
DNSMessage() - Constructor for class me.melchor9000.net.resolver.DNSMessage
 
DNSMX - Class in me.melchor9000.net.resolver
DNSResourceData for MX type
DNSQuery - Class in me.melchor9000.net.resolver
DNS Query
DNSQuery() - Constructor for class me.melchor9000.net.resolver.DNSQuery
 
DNSResolver - Class in me.melchor9000.net.resolver
DNS resolver for any domain.
DNSResolver(IOService) - Constructor for class me.melchor9000.net.resolver.DNSResolver
 
DNSResolverCache - Class in me.melchor9000.net.resolver
Stores requests in a cache4 and manages TTLs of it
DNSResolverCache() - Constructor for class me.melchor9000.net.resolver.DNSResolverCache
 
DNSResourceRecord - Class in me.melchor9000.net.resolver
An answer, authority or additional record
DNSResourceRecord() - Constructor for class me.melchor9000.net.resolver.DNSResourceRecord
 
dnsServers() - Static method in class me.melchor9000.net.resolver.DNSResolverCache
 

F

fireReceivedData() - Method in class me.melchor9000.net.Socket
Calls all methods that want to be notified when some data have been received.
fromByteBuf(ByteBuf) - Method in class me.melchor9000.net.resolver.DNSA
 
fromByteBuf(ByteBuf) - Method in class me.melchor9000.net.resolver.DNSAAAA
 
fromByteBuf(ByteBuf) - Method in class me.melchor9000.net.resolver.DNSCNAME
 
fromByteBuf(ByteBuf) - Method in class me.melchor9000.net.resolver.DNSMessage
 
fromByteBuf(ByteBuf) - Method in class me.melchor9000.net.resolver.DNSMX
 
fromByteBuf(ByteBuf) - Method in class me.melchor9000.net.resolver.DNSQuery
 
fromByteBuf(ByteBuf) - Method in class me.melchor9000.net.resolver.DNSResourceRecord
 
fromByteBuf(ByteBuf) - Method in class me.melchor9000.net.Serializable
Fills this object with the data from the ByteBuf.
Future<ReturnType> - Interface in me.melchor9000.net
About the result of an asynchronous task.
FutureImpl<ReturnType> - Class in me.melchor9000.net
My implementation of the Future
FutureImpl(IOService, Procedure) - Constructor for class me.melchor9000.net.FutureImpl
 

G

getAdditionals() - Method in class me.melchor9000.net.resolver.DNSMessage
 
getAddress() - Method in class me.melchor9000.net.resolver.DNSA
 
getAddress() - Method in class me.melchor9000.net.resolver.DNSAAAA
 
getAnswers() - Method in class me.melchor9000.net.resolver.DNSMessage
 
getAuthorities() - Method in class me.melchor9000.net.resolver.DNSMessage
 
getClass_() - Method in class me.melchor9000.net.resolver.DNSQuery
 
getClass_() - Method in class me.melchor9000.net.resolver.DNSResourceRecord
 
getClassAsString() - Method in class me.melchor9000.net.resolver.DNSQuery
 
getClassAsString() - Method in class me.melchor9000.net.resolver.DNSResourceRecord
 
getCname() - Method in class me.melchor9000.net.resolver.DNSCNAME
 
getCountAdditionals() - Method in class me.melchor9000.net.resolver.DNSMessage
 
getCountAnswers() - Method in class me.melchor9000.net.resolver.DNSMessage
 
getCountAuthorities() - Method in class me.melchor9000.net.resolver.DNSMessage
 
getCountQueries() - Method in class me.melchor9000.net.resolver.DNSMessage
 
getData() - Method in class me.melchor9000.net.resolver.DNSResourceRecord
 
getExchange() - Method in class me.melchor9000.net.resolver.DNSMX
 
getId() - Method in class me.melchor9000.net.resolver.DNSMessage
 
getName() - Method in class me.melchor9000.net.resolver.DNSQuery
 
getName() - Method in class me.melchor9000.net.resolver.DNSResourceRecord
 
getOpcode() - Method in class me.melchor9000.net.resolver.DNSMessage
 
getOpcodeAsString() - Method in class me.melchor9000.net.resolver.DNSMessage
 
getPreference() - Method in class me.melchor9000.net.resolver.DNSMX
 
getQueries() - Method in class me.melchor9000.net.resolver.DNSMessage
 
getReceivedPacketSize() - Method in exception me.melchor9000.net.UDPSocket.NotEnoughSpaceForPacketException
 
getRemoteEndpoint() - Method in exception me.melchor9000.net.UDPSocket.NotEnoughSpaceForPacketException
 
getResponseCode() - Method in class me.melchor9000.net.resolver.DNSMessage
 
getSocket() - Method in exception me.melchor9000.net.SocketNotCreated
 
getTtl() - Method in class me.melchor9000.net.resolver.DNSResourceRecord
 
getType() - Method in class me.melchor9000.net.resolver.DNSQuery
 
getType() - Method in class me.melchor9000.net.resolver.DNSResourceRecord
 
getTypeAsString() - Method in class me.melchor9000.net.resolver.DNSQuery
 
getTypeAsString() - Method in class me.melchor9000.net.resolver.DNSResourceRecord
 
getValue(long) - Method in interface me.melchor9000.net.Future
Waits at most millis milliseconds for the ending of the task.
getValue() - Method in interface me.melchor9000.net.Future
Waits until the task is done.
getValue(long) - Method in class me.melchor9000.net.FutureImpl
 
getValue() - Method in class me.melchor9000.net.FutureImpl
 
getValueNow() - Method in interface me.melchor9000.net.Future
Returns the value of the future if it is done.
getValueNow() - Method in class me.melchor9000.net.FutureImpl
 
getValueUninterrumptibly(long) - Method in interface me.melchor9000.net.Future
Waits at most millis milliseconds for the ending of the task.
getValueUninterrumptibly() - Method in interface me.melchor9000.net.Future
Waits until the task is done, ignoring interruptions.
getValueUninterrumptibly(long) - Method in class me.melchor9000.net.FutureImpl
 
getValueUninterrumptibly() - Method in class me.melchor9000.net.FutureImpl
 

I

IOService - Class in me.melchor9000.net
Reprents a number of threads that executes the same Event Loop for I/O operations and scheduled blocks of code.
IOService() - Constructor for class me.melchor9000.net.IOService
Creates one thread that will run all associated IO events
IOService(int) - Constructor for class me.melchor9000.net.IOService
Creates numberOfThreads threads that will run all associated IO events
isAuthoritativeResponse() - Method in class me.melchor9000.net.resolver.DNSMessage
 
isCancelable() - Method in interface me.melchor9000.net.Future
Returns true if the task can be cancelled and it is able to set a timeout
isCancelable() - Method in class me.melchor9000.net.FutureImpl
 
isCancelled() - Method in interface me.melchor9000.net.Future
Returns true when the task is done and was cancelled.
isCancelled() - Method in class me.melchor9000.net.FutureImpl
 
isDone() - Method in interface me.melchor9000.net.Future
Returns true when the task is completed, false otherwise.
isDone() - Method in class me.melchor9000.net.FutureImpl
 
isOpen() - Method in class me.melchor9000.net.Socket
 
isQueryOrResponse() - Method in class me.melchor9000.net.resolver.DNSMessage
 
isRecursionAvailable() - Method in class me.melchor9000.net.resolver.DNSMessage
 
isRecursionDesired() - Method in class me.melchor9000.net.resolver.DNSMessage
 
isSuccessful() - Method in interface me.melchor9000.net.Future
Returns true when the task is done and was not cancelled nor any error was raised.
isSuccessful() - Method in class me.melchor9000.net.FutureImpl
 
isTruncated() - Method in class me.melchor9000.net.resolver.DNSMessage
 

L

localEndpoint() - Method in class me.melchor9000.net.Socket
Gets the SocketAddress of the local socket, or returns null if the socket is not created yet using one of the connect or bind methods.

M

main(String...) - Static method in class TestDNSResolver
 
main(String...) - Static method in class TestTCP
 
main(String...) - Static method in class TestTCPServer
 
main(String...) - Static method in class TestUDP
 
me.melchor9000.net - package me.melchor9000.net
 
me.melchor9000.net.resolver - package me.melchor9000.net.resolver
 

O

onClose() - Method in class me.melchor9000.net.Acceptor
Returns a Future that it results when the server is closed
onClose() - Method in class me.melchor9000.net.TCPSocket
Returns a Future that will complete when this socket is closed.
onConnection - Variable in class me.melchor9000.net.Acceptor
 

P

pendingConnections() - Method in class me.melchor9000.net.TCPAcceptor
 
post(Procedure) - Method in class me.melchor9000.net.IOService
Executes the block of code in the event's loop Thread
postError(Throwable) - Method in class me.melchor9000.net.FutureImpl
 
postSuccess(ReturnType) - Method in class me.melchor9000.net.FutureImpl
 
Procedure - Interface in me.melchor9000.net
A function that is called with no arguments and returning nothing

R

read(Socket, ByteBuf, int) - Static method in class me.melchor9000.net.SocketUtil
 
read(Socket, ByteBuf) - Static method in class me.melchor9000.net.SocketUtil
 
readableBytes() - Method in class me.melchor9000.net.TCPSocket
 
readAsync(Socket, ByteBuf, int) - Static method in class me.melchor9000.net.SocketUtil
 
readAsync(Socket, ByteBuf) - Static method in class me.melchor9000.net.SocketUtil
 
receive(ByteBuf, int) - Method in class me.melchor9000.net.Socket
Receives some data from the socket and writes it into the ByteBuf data a maximum of bytes bytes.
receive(ByteBuf) - Method in class me.melchor9000.net.Socket
Receives some data from the socket into the ByteBuf.
receive(ByteBuf, int) - Method in class me.melchor9000.net.TCPSocket
 
receive(ByteBuf, int) - Method in class me.melchor9000.net.UDPSocket
 
receive(Serializable) - Method in class me.melchor9000.net.UDPSocket
 
receiveAsync(ByteBuf, int) - Method in class me.melchor9000.net.Socket
Receives some data from the socket and writes it into the ByteBuf data a maximum of bytes bytes.
receiveAsync(ByteBuf) - Method in class me.melchor9000.net.Socket
Receives some data from the socket into the ByteBuf.
receiveAsync(ByteBuf, int) - Method in class me.melchor9000.net.TCPSocket
 
receiveAsync(ByteBuf, int) - Method in class me.melchor9000.net.UDPSocket
 
receiveAsync(Type) - Method in class me.melchor9000.net.UDPSocket
 
receiveAsyncFrom(ByteBuf, int) - Method in class me.melchor9000.net.UDPSocket
 
receiveAsyncFrom(ByteBuf) - Method in class me.melchor9000.net.UDPSocket
 
receiveAsyncFrom(Type) - Method in class me.melchor9000.net.UDPSocket
 
receivedBytes() - Method in class me.melchor9000.net.Socket
 
receiveFrom(ByteBuf, int) - Method in class me.melchor9000.net.UDPSocket
 
receiveFrom(ByteBuf) - Method in class me.melchor9000.net.UDPSocket
 
receiveFrom(Serializable) - Method in class me.melchor9000.net.UDPSocket
 
remoteEndpoint() - Method in class me.melchor9000.net.Socket
Gets the SocketAddress of the remote endpoint if this socket is connected to one.
remoteEndpoint - Variable in class me.melchor9000.net.UDPSocket.Packet
The remote endpoint, where this datagram comes from
resolve(String) - Method in class me.melchor9000.net.resolver.DNSResolver
Resolves the domain name to IPv4 and IPv6 addresses.
resolveAsync(String) - Method in class me.melchor9000.net.resolver.DNSResolver
Resolves the domain name to IPv4 and IPv6 addresses.
resolveAsyncV4(String) - Method in class me.melchor9000.net.resolver.DNSResolver
Resolves the domain name to IPv4 addresses.
resolveAsyncV6(String) - Method in class me.melchor9000.net.resolver.DNSResolver
Resolves the domain name to IPv6 addresses.
resolveV4(String) - Method in class me.melchor9000.net.resolver.DNSResolver
Resolves the domain name to IPv4 addresses.
resolveV6(String) - Method in class me.melchor9000.net.resolver.DNSResolver
Resolves the domain name to IPv6 addresses.

S

schedule(Procedure, long) - Method in class me.melchor9000.net.IOService
Executes the block of code in the event's loop Thread, when have passed some milliseconds.
send(ByteBuf, int) - Method in class me.melchor9000.net.Socket
Sends some data stored in the ByteBuf data, starting from its current position with a size of bytes.
send(ByteBuf) - Method in class me.melchor9000.net.Socket
Sends some data stored in the ByteBuf data, starting from its current position with a size of data.remaining() bytes.
send(String) - Method in class me.melchor9000.net.Socket
Sends the contents of the String using the default platform Charset, without any extra characters.
send(Serializable) - Method in class me.melchor9000.net.UDPSocket
 
sendAsync(ByteBuf, int) - Method in class me.melchor9000.net.Socket
Sends some data stored in the ByteBuf data, starting from its current position with a size of bytes.
sendAsync(ByteBuf) - Method in class me.melchor9000.net.Socket
Sends some data stored in the ByteBuf data, with the remaining bytes of it.
sendAsync(String) - Method in class me.melchor9000.net.Socket
Sends the contents of the String using the default platform Charset, without any extra characters.
sendAsync(Serializable) - Method in class me.melchor9000.net.UDPSocket
 
sendAsyncTo(ByteBuf, int, InetSocketAddress) - Method in class me.melchor9000.net.UDPSocket
 
sendAsyncTo(ByteBuf, InetSocketAddress) - Method in class me.melchor9000.net.UDPSocket
 
sendAsyncTo(String, InetSocketAddress) - Method in class me.melchor9000.net.UDPSocket
 
sendAsyncTo(Serializable, InetSocketAddress) - Method in class me.melchor9000.net.UDPSocket
 
sendBytes() - Method in class me.melchor9000.net.Socket
 
sendTo(ByteBuf, int, InetSocketAddress) - Method in class me.melchor9000.net.UDPSocket
Sends the data contained in data with a length of bytes to the remote endpoint endpoint.
sendTo(ByteBuf, InetSocketAddress) - Method in class me.melchor9000.net.UDPSocket
Sends the data contained in data with a length of data.remaining() to the remote endpoint endpoint.
sendTo(String, InetSocketAddress) - Method in class me.melchor9000.net.UDPSocket
 
sendTo(Serializable, InetSocketAddress) - Method in class me.melchor9000.net.UDPSocket
 
Serializable - Class in me.melchor9000.net
Objects that can be serialized to and from a ByteBuf, to send and receive objects of this type
Serializable() - Constructor for class me.melchor9000.net.Serializable
 
service - Variable in class me.melchor9000.net.Acceptor
 
service - Variable in class me.melchor9000.net.Socket
 
setAddress(Inet4Address) - Method in class me.melchor9000.net.resolver.DNSA
 
setAddress(int, int, int, int) - Method in class me.melchor9000.net.resolver.DNSA
 
setAddress(byte[]) - Method in class me.melchor9000.net.resolver.DNSA
 
setAddress(Inet6Address) - Method in class me.melchor9000.net.resolver.DNSAAAA
 
setAuthoritativeResponse(boolean) - Method in class me.melchor9000.net.resolver.DNSMessage
 
setChildOption(ChannelOption<T>, T) - Method in class me.melchor9000.net.Acceptor
Before calling any bind() methods, this can set some default options for the new sockets created when a client is connected.
setClass(int) - Method in class me.melchor9000.net.resolver.DNSQuery
 
setClass(String) - Method in class me.melchor9000.net.resolver.DNSQuery
 
setClass(int) - Method in class me.melchor9000.net.resolver.DNSResourceRecord
 
setClass(String) - Method in class me.melchor9000.net.resolver.DNSResourceRecord
 
setCname(String) - Method in class me.melchor9000.net.resolver.DNSCNAME
 
setData(DNSResourceData) - Method in class me.melchor9000.net.resolver.DNSResourceRecord
 
setExchange(String) - Method in class me.melchor9000.net.resolver.DNSMX
 
setId(int) - Method in class me.melchor9000.net.resolver.DNSMessage
 
setName(String) - Method in class me.melchor9000.net.resolver.DNSQuery
 
setName(String) - Method in class me.melchor9000.net.resolver.DNSResourceRecord
 
setOnConnectionListener(Callback<SocketType>) - Method in class me.melchor9000.net.Acceptor
Instead of using Acceptor.accept() or Acceptor.acceptAsync(), it is possible to use a listener to receive any new connection to the acceptor.
setOnConnectionListener(Callback<TCPSocket>) - Method in class me.melchor9000.net.TCPAcceptor
 
setOpcode(byte) - Method in class me.melchor9000.net.resolver.DNSMessage
 
setOption(ChannelOption<T>, T) - Method in class me.melchor9000.net.Acceptor
Sets an option for the acceptor
setOption(ChannelOption<T>, T) - Method in class me.melchor9000.net.Socket
Changes an option of this socket with a new value.
setPreference(int) - Method in class me.melchor9000.net.resolver.DNSMX
 
setQueryOrResponse(boolean) - Method in class me.melchor9000.net.resolver.DNSMessage
 
setRecursionAvailable(boolean) - Method in class me.melchor9000.net.resolver.DNSMessage
 
setRecursionDesired(boolean) - Method in class me.melchor9000.net.resolver.DNSMessage
 
setResponseCode(byte) - Method in class me.melchor9000.net.resolver.DNSMessage
 
setTimeout(long) - Method in interface me.melchor9000.net.Future
When set to a positive value (0 not included), will set a timeout, starting the instant of type that this method was called, until the milliseconds.
setTimeout(long) - Method in class me.melchor9000.net.FutureImpl
 
setTruncated(boolean) - Method in class me.melchor9000.net.resolver.DNSMessage
 
setTtl(long) - Method in class me.melchor9000.net.resolver.DNSResourceRecord
 
setType(int) - Method in class me.melchor9000.net.resolver.DNSQuery
 
setType(String) - Method in class me.melchor9000.net.resolver.DNSQuery
 
setType(int) - Method in class me.melchor9000.net.resolver.DNSResourceRecord
 
setType(String) - Method in class me.melchor9000.net.resolver.DNSResourceRecord
 
shutdown() - Method in class me.melchor9000.net.TCPSocket
Ends the input and output stream of this connection, but not closes the connection.
shutdownAsync() - Method in class me.melchor9000.net.TCPSocket
Ends the input and output stream of this connection, but not closes the connection.
shutdownInput() - Method in class me.melchor9000.net.TCPSocket
Ends the input stream of this connection, discarding any pending data to be acknowledged.
shutdownInputAsync() - Method in class me.melchor9000.net.TCPSocket
Ends the input stream of this connection, discarding any pending data to be acknowledged.
shutdownOutput() - Method in class me.melchor9000.net.TCPSocket
Ends the output stream of this connection, sending before any data pending to send.
shutdownOutputAsync() - Method in class me.melchor9000.net.TCPSocket
Ends the output stream of this connection, sending before any data pending to send.
Socket - Class in me.melchor9000.net
A Socket from any protocol which has the basic read and write operations.
SocketNotCreated - Exception in me.melchor9000.net
When tries to call a method that requires the Socket to be created.
SocketUtil - Class in me.melchor9000.net
Some utilities when reading and writing stream based sockets
SocketUtil() - Constructor for class me.melchor9000.net.SocketUtil
 
sync() - Method in interface me.melchor9000.net.Future
Waits until the end of the task.
sync() - Method in class me.melchor9000.net.FutureImpl
 

T

TCPAcceptor - Class in me.melchor9000.net
Accepts TCP connections, and creates TCPSocket for any new one.
TCPAcceptor(IOService) - Constructor for class me.melchor9000.net.TCPAcceptor
Creates a TCP acceptor for server applications.
TCPAcceptor(IOService, IOService) - Constructor for class me.melchor9000.net.TCPAcceptor
Creates a TCP acceptor for server applications.
TCPSocket - Class in me.melchor9000.net
TCP Socket for connexions to servers.
TCPSocket(IOService) - Constructor for class me.melchor9000.net.TCPSocket
Creates a new TCP Socket
TestDNSResolver - Class in <Unnamed>
TestDNSResolver() - Constructor for class TestDNSResolver
 
TestTCP - Class in <Unnamed>
 
TestTCP() - Constructor for class TestTCP
 
TestTCPServer - Class in <Unnamed>
 
TestTCPServer() - Constructor for class TestTCPServer
 
TestUDP - Class in <Unnamed>
 
TestUDP() - Constructor for class TestUDP
 
toByteBuf(ByteBuf) - Method in class me.melchor9000.net.resolver.DNSA
 
toByteBuf(ByteBuf) - Method in class me.melchor9000.net.resolver.DNSAAAA
 
toByteBuf(ByteBuf) - Method in class me.melchor9000.net.resolver.DNSCNAME
 
toByteBuf(ByteBuf) - Method in class me.melchor9000.net.resolver.DNSMessage
 
toByteBuf(ByteBuf) - Method in class me.melchor9000.net.resolver.DNSMX
 
toByteBuf(ByteBuf) - Method in class me.melchor9000.net.resolver.DNSQuery
 
toByteBuf(ByteBuf) - Method in class me.melchor9000.net.resolver.DNSResourceRecord
 
toByteBuf(ByteBuf) - Method in class me.melchor9000.net.Serializable
Writes the data of this object into the ByteBuf.
toByteBuf() - Method in class me.melchor9000.net.Serializable
Creates a ByteBuf and stores inside it the data of this object.
toString() - Method in class me.melchor9000.net.resolver.DNSA
 
toString() - Method in class me.melchor9000.net.resolver.DNSCNAME
 
toString() - Method in class me.melchor9000.net.resolver.DNSMX
 
toString() - Method in class me.melchor9000.net.resolver.DNSQuery
 
toString() - Method in class me.melchor9000.net.resolver.DNSResourceRecord
 

U

UDPSocket - Class in me.melchor9000.net
UDP socket for any kind of operation with them.
UDPSocket(IOService) - Constructor for class me.melchor9000.net.UDPSocket
Create a UDP Socket
UDPSocket(IOService, ProtocolFamily) - Constructor for class me.melchor9000.net.UDPSocket
Create a UDP Socket
UDPSocket.NotEnoughSpaceForPacketException - Exception in me.melchor9000.net
When there isn't enough space to save a Datagram, this exception is raised to notify the programmer to pass a more bigger buffer.
UDPSocket.Packet - Class in me.melchor9000.net
Represents a Datagram of UDP

W

waitForClose() - Method in class me.melchor9000.net.Acceptor
Waits until the acceptor is closed.
waitUntilClose() - Method in class me.melchor9000.net.TCPSocket
Waits until this socket is closed.
whenDone(Callback<Future<ReturnType>>) - Method in interface me.melchor9000.net.Future
Calls the Callback when the task is done.
whenDone(Callback<Future<ReturnType>>) - Method in class me.melchor9000.net.FutureImpl
 
A B C D F G I L M O P R S T U W 
Skip navigation links