The internal type of the Java wrapped class.
The internal type of the Java wrapped class.
The internal instance of the Java wrapped class.
The internal instance of the Java wrapped class.
Block the given sourceToBlock address for the given multicastAddress on the given network interface and notifies the handler once the operation completes.
Block the given sourceToBlock address for the given multicastAddress on the given network interface and notifies the handler once the operation completes.
the address for which you want to block the sourceToBlock
the network interface on which the blocking should accour.
the source address which should be blocked. You will not receive an multicast packets for it anymore.
then handler to notify once the operation completes
this returns itself for method-chaining
Block the given sourceToBlock address for the given multicastAddress and notifies the handler once the operation completes.
Block the given sourceToBlock address for the given multicastAddress and notifies the handler once the operation completes.
the address for which you want to block the sourceToBlock
the source address which should be blocked. You will not receive an multicast packets for it anymore.
then handler to notify once the operation completes
this returns itself for method-chaining
Close this org.vertx.scala.core.Closeable instance asynchronously and notifies the handler once done.
Close this org.vertx.scala.core.Closeable instance asynchronously and notifies the handler once done.
Close this org.vertx.scala.core.Closeable instance asynchronously.
Close this org.vertx.scala.core.Closeable instance asynchronously.
Set a data handler.
Set a data handler. As data is read, the handler will be called with the data.
Set a drain handler on the stream.
Set a drain handler on the stream. If the write queue is full, then the
handler will be called when the write queue has been reduced to
maxSize / 2. See Pump
for an example of this being used.
Set an exception handler.
Set an exception handler.
Gets the java.net.StandardSocketOptions.IP_MULTICAST_IF option.
Gets the java.net.StandardSocketOptions.IP_MULTICAST_TTL option.
The receive buffer size
The send buffer size
the value of traffic class
Gets the java.net.StandardSocketOptions.SO_BROADCAST option.
Gets the java.net.StandardSocketOptions.IP_MULTICAST_LOOP option.
Gets the java.net.StandardSocketOptions.IP_MULTICAST_LOOP option.
true
if and only if the loopback mode has been disabled
The value of reuse address
Makes this org.vertx.scala.core.datagram.DatagramSocket} listen to the given java.net.InetSocketAddress.
Makes this org.vertx.scala.core.datagram.DatagramSocket} listen to the given java.net.InetSocketAddress. Once the operation completes the handler is notified.
the java.net.InetSocketAddress on which the org.vertx.scala.core.datagram.DatagramSocket will listen for org.vertx.scala.core.datagram.DatagramPacket}s.
the handler to notify once the operation completes
this itself for method-chaining
org.vertx.java.core.Handler)
org.vertx.java.core.Handler)
Joins a multicast group and so start listen for packets send to it on the given network interface.
Joins a multicast group and so start listen for packets send to it on the given network interface. The handler is notified once the operation completes.
the address of the multicast group to join
the network interface on which to listen for packets.
the address of the source for which we will listen for mulicast packets
then handler to notify once the operation completes
this returns itself for method-chaining
Joins a multicast group and so start listen for packets send to it.
Joins a multicast group and so start listen for packets send to it. The handler is notified once the operation completes.
the address of the multicast group to join
then handler to notify once the operation completes
this returns itself for method-chaining
Return the java.net.InetSocketAddress to which this org.vertx.scala.core.datagram.DatagramSocket is bound too.
Pause the ReadSupport
.
Pause the ReadSupport
. While it's paused, no data will be sent to the dataHandler
Resume reading.
Resume reading. If the ReadSupport
has been paused, reading will recommence on it.
Write the given String to the java.net.InetSocketAddress using the given encoding.
Write the given String to the java.net.InetSocketAddress using the given encoding. The handler will be notified once write completes.
the String to write
the charset used for encoding
the host address of the remote peer
the host port of the remote peer
the handler to notify once the write completes.
self itself for method chaining
Write the given String to the java.net.InetSocketAddress.
Write the given String to the java.net.InetSocketAddress. The handler will be notified once write completes.
the String to write
the host address of the remote peer
the host port of the remote peer
the handler to notify once the write completes.
self itself for method chaining
Write the given org.vertx.scala.core.buffer.Buffer to the java.net.InetSocketAddress.
Write the given org.vertx.scala.core.buffer.Buffer to the java.net.InetSocketAddress. The handler will be notified once write completes.
the org.vertx.scala.core.buffer.Buffer to write
the host address of the remote peer
the host port of the remote peer
the handler to notify once the write completes.
self itself for method chaining
Sets the java.net.StandardSocketOptions.SO_BROADCAST option.
Sets the java.net.StandardSocketOptions.IP_MULTICAST_LOOP option.
Sets the java.net.StandardSocketOptions.IP_MULTICAST_LOOP option.
true
if and only if the loopback mode has been disabled
Sets the java.net.StandardSocketOptions.IP_MULTICAST_IF option.
Sets the java.net.StandardSocketOptions.IP_MULTICAST_TTL option.
Set the receive buffer size for connections created by this instance to size
in bytes.
Set the receive buffer size for connections created by this instance to size
in bytes.
a reference to this so multiple method calls can be chained together
Set the reuseAddress setting for connections created by this instance to reuse
.
Set the reuseAddress setting for connections created by this instance to reuse
.
a reference to this so multiple method calls can be chained together
Set the send buffer size for connections created by this instance to size
in bytes.
Set the send buffer size for connections created by this instance to size
in bytes.
a reference to this so multiple method calls can be chained together
Set the trafficClass setting for connections created by this instance to trafficClass
.
Set the trafficClass setting for connections created by this instance to trafficClass
.
a reference to this so multiple method calls can be chained together
Set the maximum size of the write queue to maxSize
.
Set the maximum size of the write queue to maxSize
. You will still be
able to write to the stream even if there is more than maxSize
bytes in
the write queue. This is used as an indicator by classes such as Pump
to provide flow control.
Leaves a multicast group and so stop listen for packets send to it on the given network interface.
Leaves a multicast group and so stop listen for packets send to it on the given network interface. The handler is notified once the operation completes.
the address of the multicast group to join
the network interface on which to listen for packets.
the address of the source for which we will listen for mulicast packets
then handler to notify once the operation completes
this returns itself for method-chaining
Leaves a multicast group and so stop listen for packets send to it.
Leaves a multicast group and so stop listen for packets send to it. The handler is notified once the operation completes.
the address of the multicast group to leave
then handler to notify once the operation completes
this returns itself for method-chaining
Helper method wrapping invocations and returning the Scala type, once again to help provide fluent return types
Helper method wrapping invocations and returning the Scala type, once again to help provide fluent return types
This will return true
if there are more bytes in the write queue than
the value set using org.vertx.scala.core.streams.DrainSupport.setWriteQueueMaxSize
This will return true
if there are more bytes in the write queue than
the value set using org.vertx.scala.core.streams.DrainSupport.setWriteQueueMaxSize
A Datagram socket which can be used to send org.vertx.scala.core.datagram.DatagramPacket's to remote Datagram servers and receive org.vertx.scala.core.datagram.DatagramPackets.
Usually you use a Datagram Client to send UDP over the wire. UDP is connection-less which means you are not connected to the remote peer in a persistent way. Because of this you have to supply the address and port of the remote peer when sending data.
You can send data to ipv4 or ipv6 addresses, which also include multicast addresses.