public class Acceptor
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Class and Description |
---|---|
static interface |
Acceptor.ClientHandler |
static interface |
Acceptor.ErrorHandler |
Constructor and Description |
---|
Acceptor(java.net.ServerSocket port,
Acceptor.ErrorHandler handler,
Acceptor.ClientHandler clientHandler) |
Modifier and Type | Method and Description |
---|---|
void |
run() |
void |
stop() |
public Acceptor(java.net.ServerSocket port, Acceptor.ErrorHandler handler, Acceptor.ClientHandler clientHandler)
Copyright © 2019. All Rights Reserved.