net.anotheria.net.tcp.server.object2object
Class O2OServer
java.lang.Object
net.anotheria.net.shared.server.AbstractServer
net.anotheria.net.tcp.server.BasicTCPServer
net.anotheria.net.tcp.server.object2object.O2OServer
- All Implemented Interfaces:
- Runnable, IServer
public class O2OServer
- extends BasicTCPServer
An object2object server implementation. This is a server which is capable of exchanging serializeable objects via tcp.
- Author:
- lrosenberg
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
O2OServer
public O2OServer(int port,
boolean keepAlive,
IO2OWorkerFactory workerFactory)
- Creates a new O2OServer.
- Parameters:
port - the port to listen to.keepAlive - whether the connections have to be keepalived.workerFactory - the factory to be used for workers.
Copyright © 2010-2013 anotheria.net. All Rights Reserved.