@Override protected Channel newChildChannel(int fd, byte[] addr, int offset, int len) throws Exception { return new KQueueDomainSocketChannel(this, new BsdSocket(fd)); }
@Override protected Channel newChildChannel(int fd, byte[] addr, int offset, int len) throws Exception { return new KQueueDomainSocketChannel(this, new BsdSocket(fd)); }
return (T) new EpollDomainSocketChannel(); case NATIVE_KQUEUE_DOMAIN: return (T) new KQueueDomainSocketChannel(); default: throw new IllegalStateException("Invalid socket type: " + socketType);
return (T) new EpollDomainSocketChannel(); case NATIVE_KQUEUE_DOMAIN: return (T) new KQueueDomainSocketChannel(); default: throw new IllegalStateException("Invalid socket type: " + socketType);
@Override protected Channel newChildChannel(int fd, byte[] addr, int offset, int len) throws Exception { return new KQueueDomainSocketChannel(this, new BsdSocket(fd)); }
@Override protected Channel newChildChannel(int fd, byte[] addr, int offset, int len) throws Exception { return new KQueueDomainSocketChannel(this, new BsdSocket(fd)); }
@Override protected Channel newChildChannel(int fd, byte[] addr, int offset, int len) throws Exception { return new KQueueDomainSocketChannel(this, new BsdSocket(fd)); }
@Override protected Channel newChildChannel(int fd, byte[] addr, int offset, int len) throws Exception { return new KQueueDomainSocketChannel(this, new BsdSocket(fd)); }
return (T) new EpollDomainSocketChannel(); case NATIVE_KQUEUE_DOMAIN: return (T) new KQueueDomainSocketChannel(); default: throw new IllegalStateException("Invalid socket type: " + socketType);
return (T) new EpollDomainSocketChannel(); case NATIVE_KQUEUE_DOMAIN: return (T) new KQueueDomainSocketChannel(); default: throw new IllegalStateException("Invalid socket type: " + socketType);