|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SocketProvider
SocketProvider defines an abstraction for creating various types of sockets.
Method Summary | |
---|---|
SocketProviderFactory |
getFactory() Return the factory associated with this provider. |
java.nio.channels.DatagramChannel |
openDatagramChannel() Return a new DatagramChannel. |
java.net.DatagramSocket |
openDatagramSocket() Return a new DatagramSocket. |
java.net.MulticastSocket |
openMulticastSocket() Return a new MulticastSocket. |
java.net.ServerSocket |
openServerSocket() Return a new ServerSocket. |
java.nio.channels.ServerSocketChannel |
openServerSocketChannel() Return a new ServerSocketChannel. |
java.net.Socket |
openSocket() Return a new Socket. |
java.nio.channels.SocketChannel |
openSocketChannel() Return a new SocketChannel. |
void |
setFactory(SocketProviderFactory factory) Specify the SocketProviderFactory associated with this provider. |
Method Detail |
---|
java.net.Socket openSocket() throws java.io.IOException
java.io.IOException
- if an I/O related error occursjava.nio.channels.SocketChannel openSocketChannel() throws java.io.IOException
java.io.IOException
- if an I/O related error occursjava.net.ServerSocket openServerSocket() throws java.io.IOException
java.io.IOException
- if an I/O related error occursjava.nio.channels.ServerSocketChannel openServerSocketChannel() throws java.io.IOException
java.io.IOException
- if an I/O related error occursjava.net.DatagramSocket openDatagramSocket() throws java.io.IOException
java.io.IOException
- if an I/O related error occursjava.nio.channels.DatagramChannel openDatagramChannel() throws java.io.IOException
java.io.IOException
- if an I/O related error occursjava.net.MulticastSocket openMulticastSocket() throws java.io.IOException
java.io.IOException
- if an I/O related error occursvoid setFactory(SocketProviderFactory factory)
factory
- the associated factorySocketProviderFactory getFactory()
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |