B C D E G H I N O R S T U 

B

bufferSize - Static variable in class net.alternating.alternet.Client
 
bufferSize - Static variable in class net.alternating.alternet.Server
 
byteArrayToInt(byte[]) - Static method in class net.alternating.alternet.Utils
 

C

Client - Class in net.alternating.alternet
This class acts as a TCP client.
Client(PApplet, String, int) - Constructor for class net.alternating.alternet.Client
This constructs a new client and initializes it.
compareTo(Object) - Method in class net.alternating.alternet.RemoteAddress
 
connect() - Method in class net.alternating.alternet.Client
This method establishes the connection and starts the thread that listens to the data.

D

Deliverer - Interface in net.alternating.alternet
 
disconnect() - Method in class net.alternating.alternet.Client
This method tears down the connection to the server and stops the worker thread.
disconnectClient(RemoteAddress) - Method in class net.alternating.alternet.Server
This method is used to disconnect a specific client.
dispose() - Method in class net.alternating.alternet.Client
This is called by the encapsulating processing applet.
dispose() - Method in class net.alternating.alternet.Server
This method is called by the processing applet that contains this server instance.

E

equals(Object) - Method in class net.alternating.alternet.RemoteAddress
 

G

getIp() - Method in class net.alternating.alternet.RemoteAddress
Returns the address.
getNumberOfConnectedClients() - Method in class net.alternating.alternet.Server
This method returns the number of currently connected clients to the server.
getPort() - Method in class net.alternating.alternet.RemoteAddress
Returns the port.
getPort() - Method in class net.alternating.alternet.Server
Returns the port that this server instance is listening for new connections on

H

hashCode() - Method in class net.alternating.alternet.RemoteAddress
 

I

intToByteArray(int) - Static method in class net.alternating.alternet.Utils
 

N

net.alternating.alternet - package net.alternating.alternet
 

O

ObjectClient - Class in net.alternating.alternet
 
ObjectClient(PApplet, String, int) - Constructor for class net.alternating.alternet.ObjectClient
 
ObjectServer - Class in net.alternating.alternet
 
ObjectServer(PApplet, int) - Constructor for class net.alternating.alternet.ObjectServer
 

R

RemoteAddress - Class in net.alternating.alternet
This is a simple class that is used to contain a hostname/ip-address and a port.
RemoteAddress(String, int) - Constructor for class net.alternating.alternet.RemoteAddress
Constructs a new remote address.
run() - Method in class net.alternating.alternet.Client
This method perform the asynchronous reception of data.
run() - Method in class net.alternating.alternet.Server
This method is doing the actual work of the server.

S

send(String) - Method in class net.alternating.alternet.Client
This client sends data to the server.
send(int) - Method in class net.alternating.alternet.Client
This client sends data to the server.
send(double) - Method in class net.alternating.alternet.Client
This client sends data to the server.
send(byte) - Method in class net.alternating.alternet.Client
This client sends data to the server.
send(byte[]) - Method in class net.alternating.alternet.Client
This client sends data to the server.
send(byte[]) - Method in class net.alternating.alternet.ObjectClient
 
sendTo(RemoteAddress, byte[]) - Method in class net.alternating.alternet.ObjectServer
 
sendTo(RemoteAddress, String) - Method in class net.alternating.alternet.Server
This method sends data to a specified client identified by its RemoteAddress.
sendTo(RemoteAddress, int) - Method in class net.alternating.alternet.Server
This method sends data to a specified client identified by its RemoteAddress.
sendTo(RemoteAddress, double) - Method in class net.alternating.alternet.Server
This method sends data to a specified client identified by its RemoteAddress.
sendTo(RemoteAddress, byte) - Method in class net.alternating.alternet.Server
This method sends data to a specified client identified by its RemoteAddress.
sendTo(RemoteAddress, byte[]) - Method in class net.alternating.alternet.Server
This method sends data to a specified client identified by its RemoteAddress.
sendToAll(String) - Method in class net.alternating.alternet.Server
This method sends data to all connected clients.
sendToAll(int) - Method in class net.alternating.alternet.Server
This method sends data to all connected clients.
sendToAll(double) - Method in class net.alternating.alternet.Server
This method sends data to all connected clients.
sendToAll(byte) - Method in class net.alternating.alternet.Server
This method sends data to all connected clients.
sendToAll(byte[]) - Method in class net.alternating.alternet.Server
This method sends data to all connected clients.
Server - Class in net.alternating.alternet
This class acts as an asynchronous TCP server.
Server(PApplet, int) - Constructor for class net.alternating.alternet.Server
This constructs a new Server.

T

throwReceiveEventByteArray(ByteBuffer) - Method in class net.alternating.alternet.Client
This is a helper method used to notify the encapsulating processing applet that we have received data.
throwReceiveEventByteArray(ByteBuffer) - Method in interface net.alternating.alternet.Deliverer
 
throwReceiveEventByteArray(ByteBuffer) - Method in class net.alternating.alternet.Server
This is a helper method used to notify the encapsulating processing applet that we have received data.
throwReceiveEventString(ByteBuffer) - Method in class net.alternating.alternet.Client
This is a helper method used to notify the encapsulating processing applet that we have received data.
throwReceiveEventString(ByteBuffer) - Method in interface net.alternating.alternet.Deliverer
 
throwReceiveEventString(ByteBuffer) - Method in class net.alternating.alternet.Server
This is a helper method used to notify the encapsulating processing applet that we have received data.
toString() - Method in class net.alternating.alternet.RemoteAddress
 

U

Utils - Class in net.alternating.alternet
 
Utils() - Constructor for class net.alternating.alternet.Utils
 
B C D E G H I N O R S T U