Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


com.tangosol.net
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 Summary
 boolean isSecure()
          Return true iff the provider returns sockets which are secured, for instance by TLS.
 java.net.DatagramSocket openDatagramSocket()
          Return a new DatagramSocket.
 java.net.MulticastSocket openMulticastSocket()
          Return a new MulticastSocket.

 

Method Detail

openDatagramSocket

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

openMulticastSocket

java.net.MulticastSocket openMulticastSocket()
                                             throws java.io.IOException
Return a new MulticastSocket.
Returns:
the MulticastSocket
Throws:
java.io.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

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.