A B C D G I M N O P R S T U

A

AbstractConnection - Class in net.anotheria.net.shared.server
Base class for IConnection implementations.
AbstractConnection() - Constructor for class net.anotheria.net.shared.server.AbstractConnection
Creates a new abstract connection with an empty listeners list.
AbstractServer - Class in net.anotheria.net.shared.server
Base class for all different kinds of servers
AbstractServer() - Constructor for class net.anotheria.net.shared.server.AbstractServer
Creates a new server
AbstractServer(IConnectionFactory) - Constructor for class net.anotheria.net.shared.server.AbstractServer
Creates a new server with specified connection factory.
AbstractTCPConnection - Class in net.anotheria.net.tcp.server
Base class for TCP connections.
AbstractTCPConnection(Socket) - Constructor for class net.anotheria.net.tcp.server.AbstractTCPConnection
Creates a new AbstractTCPConnection tied to a socket.
addConnectionListener(IConnectionListener) - Method in class net.anotheria.net.shared.server.AbstractConnection
 
addConnectionListener(IConnectionListener) - Method in interface net.anotheria.net.shared.server.IConnection
Adds a connection listeners.
addRange(String, int) - Method in class net.anotheria.net.util.PlainIPFilter
Adds an ip (allowed)range to the filter.
addServerListener(IServerListener) - Method in class net.anotheria.net.shared.server.AbstractServer
 
addServerListener(IServerListener) - Method in interface net.anotheria.net.shared.server.IServer
Adds a listener to this server
addWorker(IUDPObjectWorker) - Method in class net.anotheria.net.udp.server.UDPObjectReceiver
Adds a worker to this receiver.
addWorker(IUDPPacketWorker) - Method in class net.anotheria.net.udp.server.UDPPacketReceiver
 

B

BasicTCPServer - Class in net.anotheria.net.tcp.server
A basic server for tcp connections.
BasicTCPServer(int, IConnectionFactory) - Constructor for class net.anotheria.net.tcp.server.BasicTCPServer
Creates a new server with the given port and connection factory.
ByteArraySerializer - Class in net.anotheria.net.util
This utility serializes a class to a byte array.

C

close() - Method in class net.anotheria.net.shared.server.AbstractConnection
 
close() - Method in interface net.anotheria.net.shared.server.IConnection
Closes a conection.
close() - Method in class net.anotheria.net.tcp.client.object2object.O2OClientConnection
 
close() - Method in class net.anotheria.net.tcp.proxy.ProxyConnection
 
close() - Method in class net.anotheria.net.tcp.server.AbstractTCPConnection
Closes the connection.
connect() - Method in class net.anotheria.net.tcp.client.object2object.O2OClientConnection
 
connectionClosed(IConnection) - Method in interface net.anotheria.net.shared.server.IConnectionListener
Called whenever a connection has been closed.
connectionClosed(IConnection) - Method in class net.anotheria.net.shared.server.ServerLogger
 
connectionCreated(IConnection) - Method in interface net.anotheria.net.shared.server.IServerListener
 
connectionCreated(IConnection) - Method in class net.anotheria.net.shared.server.ServerLogger
 
connectionOpened(IConnection) - Method in interface net.anotheria.net.shared.server.IConnectionListener
Called whenever a connection has been opened
connectionOpened(IConnection) - Method in class net.anotheria.net.shared.server.ServerLogger
 
connectionRemoved(IConnection) - Method in interface net.anotheria.net.shared.server.IServerListener
 
connectionRemoved(IConnection) - Method in class net.anotheria.net.shared.server.ServerLogger
 
createConnection(IConnectionCreationContext) - Method in interface net.anotheria.net.shared.server.IConnectionFactory
Creates a new connection parametrized by the context
createConnection(String, int) - Static method in class net.anotheria.net.tcp.client.object2object.O2OClientConnection
 
createConnection(IConnectionCreationContext) - Method in class net.anotheria.net.tcp.proxy.ProxyConnectionFactory
 
createConnection(IConnectionCreationContext) - Method in class net.anotheria.net.tcp.server.object2object.O2OConnectionFactory
Creates a new connection with given context.
createWorker() - Method in interface net.anotheria.net.tcp.server.object2object.IO2OWorkerFactory
Creates a new worker.

D

deserializeObject(byte[]) - Static method in class net.anotheria.net.util.ByteArraySerializer
Desirializes a previously serialized from a byte array.
dummy() - Method in class net.anotheria.net.udp.client.UDPObjectSender
 

G

getAddress() - Method in class net.anotheria.net.udp.server.UDPSenderInfo
 
getComputerName() - Static method in class net.anotheria.net.util.NetUtils
 
getConnectionFactory() - Method in class net.anotheria.net.shared.server.AbstractServer
Returns the connection factory
getPort() - Method in class net.anotheria.net.udp.server.UDPSenderInfo
 
getShortComputerName() - Static method in class net.anotheria.net.util.NetUtils
 
getSocket() - Method in class net.anotheria.net.tcp.server.AbstractTCPConnection
Returns the underlying socket.
getSocket() - Method in class net.anotheria.net.tcp.server.SocketContext
Returns the socket

I

IConnection - Interface in net.anotheria.net.shared.server
All connections have some common methods.
IConnectionCreationContext - Interface in net.anotheria.net.shared.server
A protocol depedent context of a connection creation.
IConnectionFactory - Interface in net.anotheria.net.shared.server
Factory for creation of protocol dependent connection objects.
IConnectionListener - Interface in net.anotheria.net.shared.server
A listener object which is notified on connection state changes.
IO2OWorker - Interface in net.anotheria.net.tcp.server.object2object
THe worker is used to proceed incoming requests and return a result to send back.
IO2OWorkerFactory - Interface in net.anotheria.net.tcp.server.object2object
The worker factory is used to create workers for processing incoming objects and requests.
IPRange - Class in net.anotheria.net.util
Storage class for a single ip range.
IPRange(String, int) - Constructor for class net.anotheria.net.util.IPRange
Creates new IPRange with given ipAdress and mask.
IServer - Interface in net.anotheria.net.shared.server
Defines a server.
IServerListener - Interface in net.anotheria.net.shared.server
 
isKeepAlive() - Method in class net.anotheria.net.tcp.server.object2object.O2OConnection
Returns the value of the keepalive attribute.
isRunning() - Method in class net.anotheria.net.tcp.server.BasicTCPServer
Returns true if the server is running
IUDPObjectWorker - Interface in net.anotheria.net.udp.server
TODO please remined another to comment this class
IUDPPacketWorker - Interface in net.anotheria.net.udp.server
TODO please remined another to comment this class

M

main(String[]) - Static method in class net.anotheria.net.http.client.SimpleHttpClient
 
main(String[]) - Static method in class net.anotheria.net.tcp.proxy.TCPProxyServer
 
main(String[]) - Static method in class net.anotheria.net.util.NetUtils
 
main(String[]) - Static method in class net.anotheria.net.util.PlainIPFilter
 
mayPass(String) - Method in class net.anotheria.net.util.IPRange
Check whether or not ip param is in the current range.
mayPass(String, List<IPRange>) - Static method in class net.anotheria.net.util.PlainIPFilter
Returns true if the parameter ip-adress is in one of the ranges.
mayPass(String) - Method in class net.anotheria.net.util.PlainIPFilter
Returns true if the parameter ip-adress is in one of the configured ranges.

N

net.anotheria.net.http.client - package net.anotheria.net.http.client
 
net.anotheria.net.shared.server - package net.anotheria.net.shared.server
 
net.anotheria.net.tcp.client.object2object - package net.anotheria.net.tcp.client.object2object
 
net.anotheria.net.tcp.proxy - package net.anotheria.net.tcp.proxy
 
net.anotheria.net.tcp.server - package net.anotheria.net.tcp.server
 
net.anotheria.net.tcp.server.object2object - package net.anotheria.net.tcp.server.object2object
 
net.anotheria.net.udp.client - package net.anotheria.net.udp.client
 
net.anotheria.net.udp.server - package net.anotheria.net.udp.server
 
net.anotheria.net.util - package net.anotheria.net.util
 
NetUtils - Class in net.anotheria.net.util
Utilities for the network layer.
NetUtils() - Constructor for class net.anotheria.net.util.NetUtils
 
notifyConnectionCreated(IConnection) - Method in class net.anotheria.net.shared.server.AbstractServer
Calls the connectionCreated method in all listeners
notifyConnectionRemoved(IConnection) - Method in class net.anotheria.net.shared.server.AbstractServer
Calls the connectionRemoved method in all listeners

O

O2OClientConnection - Class in net.anotheria.net.tcp.client.object2object
A connection which is capable of sending objects.
O2OClientConnection(String, int) - Constructor for class net.anotheria.net.tcp.client.object2object.O2OClientConnection
 
O2OConnection - Class in net.anotheria.net.tcp.server.object2object
A connection to exchange objects via an underlying tcp connection.
O2OConnectionFactory - Class in net.anotheria.net.tcp.server.object2object
A factory for creation of object to object connections.
O2OServer - Class in net.anotheria.net.tcp.server.object2object
An object2object server implementation.
O2OServer(int, boolean, IO2OWorkerFactory) - Constructor for class net.anotheria.net.tcp.server.object2object.O2OServer
Creates a new O2OServer.
open() - Method in class net.anotheria.net.shared.server.AbstractConnection
 
open() - Method in interface net.anotheria.net.shared.server.IConnection
Opens a connection.
open() - Method in class net.anotheria.net.tcp.client.object2object.O2OClientConnection
 
open() - Method in class net.anotheria.net.tcp.proxy.ProxyConnection
 
open() - Method in class net.anotheria.net.tcp.server.AbstractTCPConnection
Opens a connection and creates a reader.

P

PlainIPFilter - Class in net.anotheria.net.util
This is a helper class which determines whether an ip adress is in specified range.
PlainIPFilter() - Constructor for class net.anotheria.net.util.PlainIPFilter
Creates a new filter.
proceedIncomingObject(Object, UDPSenderInfo) - Method in interface net.anotheria.net.udp.server.IUDPObjectWorker
 
proceedIncomingPacket(byte[], UDPSenderInfo) - Method in interface net.anotheria.net.udp.server.IUDPPacketWorker
 
proceedIncomingPacket(byte[], UDPSenderInfo) - Method in class net.anotheria.net.udp.server.UDPObjectReceiver
 
processObjectAndReturnResult(Object) - Method in interface net.anotheria.net.tcp.server.object2object.IO2OWorker
Called for each incoming object.
ProxyConnection - Class in net.anotheria.net.tcp.proxy
A proxy connection which proxies a connection to a tcp server.
ProxyConnection(Socket, String, int) - Constructor for class net.anotheria.net.tcp.proxy.ProxyConnection
 
ProxyConnectionFactory - Class in net.anotheria.net.tcp.proxy
A factory for proxy connections.
ProxyConnectionFactory(String, int) - Constructor for class net.anotheria.net.tcp.proxy.ProxyConnectionFactory
 

R

removeConnectionListener(IConnectionListener) - Method in class net.anotheria.net.shared.server.AbstractConnection
 
removeConnectionListener(IConnectionListener) - Method in interface net.anotheria.net.shared.server.IConnection
Removes the given connection listener.
removeServerListener(IServerListener) - Method in class net.anotheria.net.shared.server.AbstractServer
 
removeServerListener(IServerListener) - Method in interface net.anotheria.net.shared.server.IServer
Removes a listener from this server.
removeWorker(IUDPObjectWorker) - Method in class net.anotheria.net.udp.server.UDPObjectReceiver
Removes the worker from this receiver.
removeWorker(IUDPPacketWorker) - Method in class net.anotheria.net.udp.server.UDPPacketReceiver
 
run() - Method in class net.anotheria.net.tcp.proxy.ProxyConnection
 
run() - Method in class net.anotheria.net.tcp.server.BasicTCPServer
 
run() - Method in class net.anotheria.net.tcp.server.object2object.O2OConnection
 
run() - Method in class net.anotheria.net.udp.server.UDPPacketReceiver
 

S

send(Object) - Method in class net.anotheria.net.udp.client.UDPObjectSender
Sends an object to the other side.
send(byte[]) - Method in class net.anotheria.net.udp.client.UDPPacketSender
Sends some data to the default host and port.
sendObjectAndReturnResult(Object) - Method in class net.anotheria.net.tcp.client.object2object.O2OClientConnection
 
sendPostRequest(String, String) - Method in class net.anotheria.net.http.client.SimpleHttpClient
Packs string data to the post HTTP request and sends it on the Web Server by specific URL.
sendTo(Object, String, int) - Method in class net.anotheria.net.udp.client.UDPObjectSender
Sends an object to specified host and port.
sendTo(byte[], String, int) - Method in class net.anotheria.net.udp.client.UDPPacketSender
Sends some data to the given host and port.
serializeObject(Serializable) - Static method in class net.anotheria.net.util.ByteArraySerializer
Serializes a serializeable object into a byte array.
ServerException - Exception in net.anotheria.net.shared.server
Base class for server-generated exceptions.
ServerException(String) - Constructor for exception net.anotheria.net.shared.server.ServerException
 
ServerLogger - Class in net.anotheria.net.shared.server
A server and connection listener which just prints out to system-out.
ServerLogger(IServer) - Constructor for class net.anotheria.net.shared.server.ServerLogger
 
setConnectionFactory(IConnectionFactory) - Method in class net.anotheria.net.shared.server.AbstractServer
Sets a new connection factory
setKeepAlive(boolean) - Method in class net.anotheria.net.tcp.server.object2object.O2OConnection
Sets the value of the keepalive attribute.
setRunning(boolean) - Method in class net.anotheria.net.tcp.server.BasicTCPServer
Used to stop the server by stoping the thread.
setSocket(Socket) - Method in class net.anotheria.net.tcp.server.AbstractTCPConnection
Sets the socket for this connection.
setSocket(Socket) - Method in class net.anotheria.net.tcp.server.SocketContext
Sets the socket
SimpleHttpClient - Class in net.anotheria.net.http.client
Very simple utility class to communicate with web server via HTTP protocol.
SimpleHttpClient() - Constructor for class net.anotheria.net.http.client.SimpleHttpClient
 
SLEEP_TIME - Static variable in class net.anotheria.net.tcp.proxy.ProxyConnection
 
SocketContext - Class in net.anotheria.net.tcp.server
A socket associated connection creation context.
start() - Method in class net.anotheria.net.udp.server.UDPObjectReceiver
Starts the receiver.
startServer() - Method in interface net.anotheria.net.shared.server.IServer
Starts the server
startServer() - Method in class net.anotheria.net.tcp.server.BasicTCPServer
 
stopServer() - Method in interface net.anotheria.net.shared.server.IServer
Stops the server
stopServer() - Method in class net.anotheria.net.tcp.server.BasicTCPServer
Stops the server.

T

TCPProxyServer - Class in net.anotheria.net.tcp.proxy
 
TCPProxyServer(int, String, int) - Constructor for class net.anotheria.net.tcp.proxy.TCPProxyServer
 
TIMEOUT_SECONDS_IN - Static variable in class net.anotheria.net.tcp.proxy.ProxyConnection
 
TIMEOUT_SECONDS_OUT - Static variable in class net.anotheria.net.tcp.proxy.ProxyConnection
 
toString() - Method in class net.anotheria.net.tcp.server.SocketContext
 
toString() - Method in class net.anotheria.net.udp.server.UDPSenderInfo
 
toString() - Method in class net.anotheria.net.util.IPRange
 
toString() - Method in class net.anotheria.net.util.PlainIPFilter
 

U

UDPObjectReceiver - Class in net.anotheria.net.udp.server
A receiver for udp objects in udp packets to build udp servers upon.
UDPObjectReceiver(int) - Constructor for class net.anotheria.net.udp.server.UDPObjectReceiver
Creates a new UDPObjectReceiver that listens at the given port.
UDPObjectSender - Class in net.anotheria.net.udp.client
This is a utility class for sending objects over an udp connection.
UDPObjectSender(int) - Constructor for class net.anotheria.net.udp.client.UDPObjectSender
Creates a new UDPObjectSender bound to a given port.
UDPObjectSender(int, int) - Constructor for class net.anotheria.net.udp.client.UDPObjectSender
Creates a new UDPObjectSender bound to a first free port in the given port range.
UDPObjectSender(int, String, int) - Constructor for class net.anotheria.net.udp.client.UDPObjectSender
 
UDPObjectSender(int, int, String, int) - Constructor for class net.anotheria.net.udp.client.UDPObjectSender
 
UDPPacketReceiver - Class in net.anotheria.net.udp.server
A helper object which is bound to a port and proceeds all incoming datagram packets on this port.
UDPPacketReceiver(int) - Constructor for class net.anotheria.net.udp.server.UDPPacketReceiver
 
UDPPacketSender - Class in net.anotheria.net.udp.client
Utility class which sends packets over udp.
UDPPacketSender(int) - Constructor for class net.anotheria.net.udp.client.UDPPacketSender
Creates a new UDPPacketSender with the given port as sender port.
UDPPacketSender(int, int) - Constructor for class net.anotheria.net.udp.client.UDPPacketSender
Creates a new UDPPacketSender with a given port range for the outgoing port.
UDPPacketSender(int, String, int) - Constructor for class net.anotheria.net.udp.client.UDPPacketSender
Creates a new UDPPacketSender with a given outgoing port, default target host and port.
UDPPacketSender(int, int, String, int) - Constructor for class net.anotheria.net.udp.client.UDPPacketSender
Creates a new UDPPacketSender with outgoing port range, a default target host and port.
UDPSenderInfo - Class in net.anotheria.net.udp.server
TODO please remined another to comment this class
UDPSenderInfo(InetAddress, int) - Constructor for class net.anotheria.net.udp.server.UDPSenderInfo
 

A B C D G I M N O P R S T U

Copyright © 2010-2013 anotheria.net. All Rights Reserved.