|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.net.TcpDatagramSocketProvider
public class TcpDatagramSocketProvider
TcpDatagramSocketProvider produces datagram sockets that uses TCP sockets underneath for unicast communication. For multicast, it still uses the MulticastSockets.
Nested Class Summary | |
---|---|
static class |
TcpDatagramSocketProvider.DefaultDependencies DefaultDependenceis is a basic implementation of the Dependencies interface providing "setter" methods for each property. |
static interface |
TcpDatagramSocketProvider.Dependencies Dependencies specifies all dependency requirements of the TcpDatagramSocketProvider. |
Field Summary | |
---|---|
protected TcpDatagramSocketProvider.Dependencies |
m_dependencies TcpDatagramSocketProvider Dependencies |
Constructor Summary | |
---|---|
TcpDatagramSocketProvider() Construct a TcpDatagramSocketProvider. |
|
TcpDatagramSocketProvider(TcpDatagramSocketProvider.Dependencies deps) Construct a TcpDatagramSocketProvider |
Method Summary | |
---|---|
protected TcpDatagramSocket |
configure(TcpDatagramSocket socket) Configure the socket. |
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. |
java.lang.String |
toString() |
Field Detail |
---|
protected TcpDatagramSocketProvider.Dependencies m_dependencies
Constructor Detail |
---|
public TcpDatagramSocketProvider()
public TcpDatagramSocketProvider(TcpDatagramSocketProvider.Dependencies deps)
deps
- the provider dependencies, or nullMethod Detail |
---|
public java.net.DatagramSocket openDatagramSocket() throws java.io.IOException
openDatagramSocket
in interface DatagramSocketProvider
java.io.IOException
- if an I/O related error occurspublic java.net.MulticastSocket openMulticastSocket() throws java.io.IOException
openMulticastSocket
in interface DatagramSocketProvider
java.io.IOException
- if an I/O related error occurspublic boolean isSecure()
isSecure
in interface DatagramSocketProvider
public java.lang.String toString()
protected TcpDatagramSocket configure(TcpDatagramSocket socket)
socket
- the socket
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |