public final class UdpSocket extends Object implements Connecter
| Modifier and Type | Class and Description |
|---|---|
static interface |
UdpSocket.Builder |
static class |
UdpSocket.Test |
| Constructor and Description |
|---|
UdpSocket(Queue queue,
ByteBufferAllocator byteBufferAllocator,
Address bindAddress) |
| Modifier and Type | Method and Description |
|---|---|
static UdpSocket.Builder |
builder() |
void |
close() |
void |
connect(Connection callback) |
void |
send(Address address,
ByteBuffer buffer,
SendCallback callback) |
public UdpSocket(Queue queue, ByteBufferAllocator byteBufferAllocator, Address bindAddress)
public static UdpSocket.Builder builder()
public void connect(Connection callback)
public void close()
close in interface Disconnectableclose in interface AutoCloseablepublic void send(Address address, ByteBuffer buffer, SendCallback callback)
Copyright © 2017. All rights reserved.