Package com.tangosol.net
Interface TcpDatagramSocketProvider.Dependencies
- All Known Implementing Classes:
TcpDatagramSocketProvider.DefaultDependencies
- Enclosing class:
- TcpDatagramSocketProvider
public static interface TcpDatagramSocketProvider.Dependencies
Dependencies specifies all dependency requirements of the TcpDatagramSocketProvider.
-
Method Summary
Modifier and TypeMethodDescriptionintGet the frequency at which the DatagramSocket will advance over the sub-sockets during receivecom.oracle.coherence.common.net.SocketProviderReturn the SocketProvider to use in producing the underling sockets which will be wrapped with DatagramSocket.booleanCheck if datagram sockets should be blocking the use of "blocking" datagram sockets is not meant for production use and this setting should remain undocumented
-
Method Details
-
getDelegateSocketProvider
com.oracle.coherence.common.net.SocketProvider getDelegateSocketProvider()Return the SocketProvider to use in producing the underling sockets which will be wrapped with DatagramSocket.- Returns:
- the delegate SocketProvider
-
isBlocking
boolean isBlocking()Check if datagram sockets should be blocking the use of "blocking" datagram sockets is not meant for production use and this setting should remain undocumented- Returns:
- true if use blocking sockets
-
getAdvanceFrequency
int getAdvanceFrequency()Get the frequency at which the DatagramSocket will advance over the sub-sockets during receive- Returns:
- int frequency
-