public final class Acceptor
extends java.lang.Object
Acceptor accepts new socket connections and informs the Router.| Constructor | Description |
|---|---|
Acceptor(TcpConfiguration config,
java.util.concurrent.atomic.AtomicInteger remainingConnections) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
handleRoute(int msgTypeId,
org.agrona.DirectBuffer buffer,
int index,
int length) |
|
void |
setPoller(Poller poller) |
public Acceptor(TcpConfiguration config, java.util.concurrent.atomic.AtomicInteger remainingConnections)
public void setPoller(Poller poller)
public boolean handleRoute(int msgTypeId,
org.agrona.DirectBuffer buffer,
int index,
int length)
Copyright © 2019. All rights reserved.