Interface DatagramSocketProvider

All Known Implementing Classes:
SystemDatagramSocketProvider, TcpDatagramSocketProvider

public interface DatagramSocketProvider
DatagramSocketProivder defines an interface for creating datagram and multicast sockets.
Since:
Coherence 12.1.2
Author:
bb 2011.11.21
  • Method Details

    • openDatagramSocket

      DatagramSocket openDatagramSocket() throws IOException
      Return a new DatagramSocket.
      Returns:
      the DatagramSocket
      Throws:
      IOException - if an I/O related error occurs
    • openMulticastSocket

      MulticastSocket openMulticastSocket() throws IOException
      Return a new MulticastSocket.
      Returns:
      the MulticastSocket
      Throws:
      IOException - if an I/O related error occurs
    • isSecure

      boolean isSecure()
      Return true iff the provider returns sockets which are secured, for instance by TLS.
      Returns:
      true iff the provider returns secured sockets