public KQueueServerSocketChannel(int fd) { // Must call this constructor to ensure this object's local address is configured correctly. // The local address can only be obtained from a Socket object. this(new BsdSocket(fd)); }
public KQueueServerDomainSocketChannel(int fd) { this(new BsdSocket(fd), false); }
public KQueueDatagramChannel(int fd) { this(new BsdSocket(fd), true); }
public KQueueDomainSocketChannel(int fd) { this(null, new BsdSocket(fd)); }
public KQueueServerSocketChannel(int fd) { // Must call this constructor to ensure this object's local address is configured correctly. // The local address can only be obtained from a Socket object. this(new BsdSocket(fd)); }
public KQueueDatagramChannel(int fd) { this(new BsdSocket(fd), true); }
public KQueueDomainSocketChannel(int fd) { this(null, new BsdSocket(fd)); }
public KQueueServerDomainSocketChannel(int fd) { this(new BsdSocket(fd), false); }
@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[] address, int offset, int len) throws Exception { return new KQueueSocketChannel(this, new BsdSocket(fd), address(address, offset, len)); } }
public KQueueSocketChannel(int fd) { super(new BsdSocket(fd)); config = new KQueueSocketChannelConfig(this); }
public static BsdSocket newSocketDgram() { return new BsdSocket(newSocketDgram0()); }
public static BsdSocket newSocketStream() { return new BsdSocket(newSocketStream0()); }
public static BsdSocket newSocketDomain() { return new BsdSocket(newSocketDomain0()); }
@Override protected Channel newChildChannel(int fd, byte[] address, int offset, int len) throws Exception { return new KQueueSocketChannel(this, new BsdSocket(fd), address(address, offset, len)); } }
public static BsdSocket newSocketDomain() { return new BsdSocket(newSocketDomain0()); }
public KQueueSocketChannel(int fd) { super(new BsdSocket(fd)); config = new KQueueSocketChannelConfig(this); }
public static BsdSocket newSocketStream() { return new BsdSocket(newSocketStream0()); }
public static BsdSocket newSocketDgram() { return new BsdSocket(newSocketDgram0()); }