Added write(ByteBuffer) to Streamable interface and a first draft for a NioNetworkHandler
This commit is contained in:
@ -45,7 +45,6 @@ import static java.util.Collections.newSetFromMap;
|
||||
* Handles all the networky stuff.
|
||||
*/
|
||||
public class DefaultNetworkHandler implements NetworkHandler, ContextHolder {
|
||||
public final static int NETWORK_MAGIC_NUMBER = 8;
|
||||
|
||||
final Collection<Connection> connections = new ConcurrentLinkedQueue<>();
|
||||
private final ExecutorService pool = Executors.newCachedThreadPool(
|
||||
|
Reference in New Issue
Block a user