| Modifier and Type | Class and Description |
|---|---|
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| private DatagramChannel | |
| private final CloseFuture | |
| private final ContextInternal | |
| private long | |
| private Handler | |
| private Handler | |
| private final DatagramSocketMetrics | |
| private Handler |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public DatagramSocket | blockMulticastGroup(String
the address for which you want to block the source address multicastAddress, String the network interface on which the blocking should occur. networkInterface, String the source address which should be blocked. You will not receive an multicast packets
for it anymore. sourceToBlock, Handler<AsyncResult<Void>> the handler to notify once the operation completes handler)Implements io. Block the given address for the given multicast address on the given network interface and notifies
the |
| public Future | blockMulticastGroup(String multicastAddress, String networkInterface, String sourceToBlock)
Implements io. Like |
| public DatagramSocket | blockMulticastGroup(String
the address for which you want to block the source address multicastAddress, String the source address which should be blocked. You will not receive an multicast packets
for it anymore. sourceToBlock, Handler<AsyncResult<Void>> the handler to notify once the operation completes handler)Implements io. Block the given address for the given multicast address and notifies the |
| public Future | blockMulticastGroup(String multicastAddress, String sourceToBlock)
Implements io. Like |
| public void | close(Handler<AsyncResult<Void>>
the handler to notify once complete handler)Implements io. Closes the |
| public synchronized Future | close()
Implements io. Closes the |
| public void | close(Promise<Void>
the promise to signal when close has completed completion)Implements io. Close this resource, the |
| public static DatagramSocketImpl | |
| private DatagramSocketImpl. | |
| private NetworkInterface | |
| public DatagramSocketImpl | |
| public DatagramSocketImpl | exceptionHandler(Handler<Throwable> handler)
Implements io.
|
| public synchronized DatagramSocket | fetch(long amount)
Implements io. Fetch the specified |
| protected void | finalize()
Overrides java. Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. |
| public Metrics | getMetrics()
Implements io. Returns the metrics implementation. |
| public synchronized DatagramSocket | |
| private void | |
| public boolean | isMetricsEnabled()
Overrides default io. Whether the metrics are enabled for this measured object |
| public DatagramSocket | listen(int
the port to listen on port, String the host to listen on address, Handler<AsyncResult<DatagramSocket>> the handler will be called when listening handler)Implements io. Start listening on the given port and host. |
| public Future | listen(int port, String address)
Implements io. Like |
| private Future | |
| public DatagramSocket | listenMulticastGroup(String
the address of the multicast group to join multicastAddress, Handler<AsyncResult<Void>> then handler to notify once the operation completes handler)Implements io. Joins a multicast group and listens for packets send to it. |
| public Future | listenMulticastGroup(String multicastAddress)
Implements io. Like |
| public DatagramSocket | listenMulticastGroup(String multicastAddress, String networkInterface, String source, Handler<AsyncResult<Void>> handler)
|
| public Future | |
| public SocketAddress | localAddress()
Implements io. Return the |
| public synchronized DatagramSocket | pause()
Implements io. Pause the |
| public synchronized DatagramSocket | resume()
Implements io. Resume reading, and sets the buffer in |
| public DatagramSocket | send(Buffer
the packet, int io. to writethe host port of the remote peer port, String the host address of the remote peer host, Handler<AsyncResult<Void>> the handler)io. to notify once the write completes.Implements io.
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Write the given |
| public Future | send(Buffer packet, int port, String host)
Implements io.
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Like |
| public DatagramSocket | send(String
the str, int String to writethe host port of the remote peer port, String the host address of the remote peer host, Handler<AsyncResult<Void>> the handler)io. to notify once the write completes.Implements io. Write the given |
| public Future | send(String str, int port, String host)
Implements io. Like |
| public DatagramSocket | send(String
the str, String String to writethe charset used for encoding enc, int the host port of the remote peer port, String the host address of the remote peer host, Handler<AsyncResult<Void>> the handler)io. to notify once the write completes.Implements io. Write the given |
| public Future | send(String str, String enc, int port, String host)
Implements io. Like |
| public WriteStream | sender(int
the port of the remote peer port, String the host address of the remote peer host)Implements io. Returns a |
| public DatagramSocket | unlistenMulticastGroup(String
the address of the multicast group to leave multicastAddress, Handler<AsyncResult<Void>> then handler to notify once the operation completes handler)Implements io. Leaves a multicast group and stops listening for packets send to it. |
| public Future | unlistenMulticastGroup(String multicastAddress)
Implements io. Like |
| public DatagramSocket | unlistenMulticastGroup(String multicastAddress, String networkInterface, String source, Handler<AsyncResult<Void>> handler)
|
| public Future |