The common type of all commands supported by the UDP implementation.
When a command fails it will be replied to with this message type, wrapping the failing command object.
Send this message to the UdpExt#manager in order to bind to a local
port (optionally with the chosen localAddress
) and create a UDP socket
which is restricted to sending to and receiving from the given remoteAddress
.
This message is sent by the connection actor to the actor which sent the Connect message when the UDP socket has been bound to the local and remote addresses given.
This message is sent by the connection actor to the actor which sent the Disconnect message when the UDP socket has been closed.
The common type of all events emitted by the UDP implementation.
Each Send can optionally request a positive acknowledgment to be sent to the commanding actor.
When a connection actor receives a datagram from its socket it will send it to the handler designated in the Udp.Bind message using this message type.
This message is understood by the connection actors to send data to their designated destination.
Send this message to a connection actor (which had previously sent the Connected message) in order to close the socket.
Default NoAck instance which is used when no acknowledgment information is explicitly provided.
This message must be sent to the listener actor to re-enable reading from the socket after a SuspendReading command.
Send this message to a listener actor (which sent a Udp.Bound message) to have it stop reading datagrams from the network.
Returns an instance of the extension identified by this ExtensionId instance.
Returns an instance of the extension identified by this ExtensionId instance.
Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.
Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.
Java API: retrieve the UdpConnected extension for the given system.
Java API: retrieve the UdpConnected extension for the given system.
Returns the canonical ExtensionId for this Extension
Returns the canonical ExtensionId for this Extension
UDP Extension for Akka’s IO layer.
All contents of the `akka.io` package is marked “experimental”.
This marker signifies that APIs may still change in response to user feedback through-out the 2.2 release cycle. The implementation itself is considered stable and ready for production use.
This extension implements the connectionless UDP protocol with calling
connect
on the underlying sockets, i.e. with restricting from whom data can be received. For “unconnected” UDP mode see Udp.For a full description of the design and philosophy behind this IO implementation please refer to the Akka online documentation.
The Java API for generating UDP commands is available at UdpConnectedMessage.