SocketChannel implementation that uses linux EPOLL Edge-Triggered Mode for
maximal performance.
| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final EpollSocketChannelConfig | |
| private volatile Collection |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| pack-priv | |
| pack-priv |
| config | back to summary |
|---|---|
| private final EpollSocketChannelConfig config | |
| tcpMd5SigAddresses | back to summary |
|---|---|
| private volatile Collection<InetAddress> tcpMd5SigAddresses | |
| EpollSocketChannel | back to summary |
|---|---|
| public EpollSocketChannel() | |
| EpollSocketChannel | back to summary |
|---|---|
| public EpollSocketChannel(InternetProtocolFamily protocol) | |
| EpollSocketChannel | back to summary |
|---|---|
| public EpollSocketChannel(int fd) | |
| EpollSocketChannel | back to summary |
|---|---|
| pack-priv EpollSocketChannel(LinuxSocket fd, boolean active) | |
| EpollSocketChannel | back to summary |
|---|---|
| pack-priv EpollSocketChannel(Channel parent, LinuxSocket fd, InetSocketAddress remoteAddress) | |
| config | back to summary |
|---|---|
| public EpollSocketChannelConfig config() Implements abstract io. Implements io. Doc from io. Returns the configuration of this channel.
| |
| doConnect0 | back to summary |
|---|---|
| pack-priv boolean doConnect0(SocketAddress remote) throws Exception Overrides io.
| |
| localAddress | back to summary |
|---|---|
| public InetSocketAddress localAddress() Overrides io. Implements io. Doc from io. Returns the local address where this channel is bound to. The returned
| |
| newUnsafe | back to summary |
|---|---|
| protected AbstractEpollChannel. Overrides io. Doc from io. Create a new
| |
| parent | back to summary |
|---|---|
| public ServerSocketChannel parent() Overrides io. Implements io. Doc from io. Returns the parent of this channel.
| |
| remoteAddress | back to summary |
|---|---|
| public InetSocketAddress remoteAddress() Overrides io. Implements io. Doc from io. Returns the remote address where this channel is connected to. The
returned
| |
| setTcpMd5Sig | back to summary |
|---|---|
| pack-priv void setTcpMd5Sig(Map<InetAddress, byte[]> keys) throws IOException | |
| tcpInfo | back to summary |
|---|---|
| public EpollTcpInfo tcpInfo() Returns the | |
| tcpInfo | back to summary |
|---|---|
| public EpollTcpInfo tcpInfo(EpollTcpInfo info) Updates and returns the | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| protected Executor | prepareToClose()
Overrides io. Channel.
|
| EpollSocketChannelUnsafe | back to summary |
|---|---|
| private EpollSocketChannelUnsafe() | |
| prepareToClose | back to summary |
|---|---|
| protected Executor prepareToClose() Overrides io. Doc from io. Prepares to close the
| |