ServerChannel for the local transport which allows in VM communication.
| Modifier and Type | Field and Description |
|---|---|
| private volatile boolean | |
| private final Queue | |
| private volatile LocalAddress | |
| private volatile int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| protected void | doBind(SocketAddress
the localAddress)SocketAddress to bound to.Implements abstract io. Channel to the SocketAddress
|
| protected void | |
| protected void | doRead(boolean
true if a read was already pending when read()
was called.Implements abstract io. |
| protected boolean | doReadNow(AbstractChannel<LocalChannel, LocalAddress, LocalAddress>.
the readSinkReadSink that should be called with messages that are read from the transport
to propagate these.Implements abstract io. ReadSink#processRead(int, int, Object).
|
| public boolean | isActive()
Implements io. true if the Channel is active and so connected.
|
| public boolean | isOpen()
Implements io. true if the Channel is open and may get active later
|
| protected LocalAddress | localAddress0()
Implements abstract io. SocketAddress which is bound locally.
|
| protected LocalChannel | |
| public void | |
| pack-priv LocalChannel | |
| private void |
| acceptInProgress | back to summary |
|---|---|
| private volatile boolean acceptInProgress | |
| inboundBuffer | back to summary |
|---|---|
| private final Queue<Object> inboundBuffer | |
| localAddress | back to summary |
|---|---|
| private volatile LocalAddress localAddress | |
| state | back to summary |
|---|---|
| private volatile int state | |
| LocalServerChannel | back to summary |
|---|---|
| public LocalServerChannel(EventLoop eventLoop, EventLoopGroup childEventLoopGroup) | |
| closeTransportNow | back to summary |
|---|---|
| public void closeTransportNow() Implements io.
| |
| deregisterTransportNow | back to summary |
|---|---|
| public void deregisterTransportNow() Implements io.
| |
| doBind | back to summary |
|---|---|
| protected void doBind(SocketAddress localAddress) throws Exception Implements abstract io. Doc from io. Bind the
| |
| doClose | back to summary |
|---|---|
| protected void doClose() throws Exception Implements abstract io. Doc from io. Close the | |
| doRead | back to summary |
|---|---|
| protected void doRead(boolean wasReadPendingAlready) throws Exception Implements abstract io. Doc from io. Schedule a read operation. | |
| doReadNow | back to summary |
|---|---|
| protected boolean doReadNow(AbstractChannel<LocalChannel, LocalAddress, LocalAddress>. Implements abstract io. Doc from io. Try to read a message from the transport and dispatch it via
| |
| isActive | back to summary |
|---|---|
| public boolean isActive() Implements io. Doc from io. Return
| |
| isOpen | back to summary |
|---|---|
| public boolean isOpen() Implements io. Doc from io. Returns
| |
| localAddress0 | back to summary |
|---|---|
| protected LocalAddress localAddress0() Implements abstract io. Doc from io. Returns the
| |
| newLocalChannel | back to summary |
|---|---|
| protected LocalChannel newLocalChannel(LocalChannel peer) A factory method for | |
| registerTransportNow | back to summary |
|---|---|
| public void registerTransportNow() Implements io.
| |
| serve | back to summary |
|---|---|
| pack-priv LocalChannel serve(final LocalChannel peer) | |
| serve0 | back to summary |
|---|---|
| private void serve0(final LocalChannel child) | |