public final class LumberjackServer extends Object
Constructor and Description |
---|
LumberjackServer(String host,
int port,
SSLContext sslContext,
ThreadFactory threadFactory,
LumberjackMessageProcessor messageProcessor) |
Modifier and Type | Method and Description |
---|---|
void |
start()
Starts the server.
|
void |
stop()
Stops the server.
|
public LumberjackServer(String host, int port, SSLContext sslContext, ThreadFactory threadFactory, LumberjackMessageProcessor messageProcessor)
public void start() throws InterruptedException
InterruptedException
- when interrupting while connecting the socketpublic void stop() throws InterruptedException
InterruptedException
- when interrupting while stopping the socketApache Camel