Package com.tangosol.net
Class SystemDatagramSocketProvider
java.lang.Object
com.tangosol.net.SystemDatagramSocketProvider
- All Implemented Interfaces:
DatagramSocketProvider
SystemDatagramSocketProvider produces JVM default datagram sockets
- Since:
- Coherence 12.1.2
- Author:
- bb 2011.11.21
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SystemDatagramSocketProvider
A default SocketProvider instance. -
Constructor Summary
-
Method Summary
-
Field Details
-
INSTANCE
A default SocketProvider instance.
-
-
Constructor Details
-
SystemDatagramSocketProvider
public SystemDatagramSocketProvider()
-
-
Method Details
-
openDatagramSocket
Description copied from interface:DatagramSocketProvider
Return a new DatagramSocket.- Specified by:
openDatagramSocket
in interfaceDatagramSocketProvider
- Returns:
- the DatagramSocket
- Throws:
IOException
- if an I/O related error occurs
-
openMulticastSocket
Description copied from interface:DatagramSocketProvider
Return a new MulticastSocket.- Specified by:
openMulticastSocket
in interfaceDatagramSocketProvider
- Returns:
- the MulticastSocket
- Throws:
IOException
- if an I/O related error occurs
-
isSecure
public boolean isSecure()Description copied from interface:DatagramSocketProvider
Return true iff the provider returns sockets which are secured, for instance by TLS.- Specified by:
isSecure
in interfaceDatagramSocketProvider
- Returns:
- true iff the provider returns secured sockets
-
toString
-