Package io.activej.net.socket.udp
Interface IUdpSocket
- All Known Implementing Classes:
UdpSocket
public interface IUdpSocket
Common interface for datagram-oriented transport protocols.
This interface describes asynchronous receive and send operations for data transmission through the network.
Implementations of this interface should follow rules described below:
- Each request to the socket after it was closed should complete exceptionally.
-
Method Summary
-
Method Details
-
receive
-
send
-
close
void close()
-