|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.nio.channels.spi.SelectorProvider
com.tangosol.net.SystemSocketProvider
public class SystemSocketProvider
SocketProvider that produces instances of the JVM's default socket and channel implementations.
Field Summary | |
---|---|
static SystemSocketProvider |
INSTANCE A shareable SystemSocketProvider. |
protected SocketProviderFactory |
m_factory The associated factory. |
static String |
XML_NAME The name of the XmlElement in which the provider configuration is specified. |
Constructor Summary | |
---|---|
SystemSocketProvider() |
Method Summary | |
---|---|
SocketProviderFactory |
getFactory() Return the factory associated with this provider. |
Channel |
inheritedChannel() Unsupported. |
DatagramChannel |
openDatagramChannel() Return a new DatagramChannel. |
DatagramSocket |
openDatagramSocket() Return a new DatagramSocket. |
MulticastSocket |
openMulticastSocket() Return a new MulticastSocket. |
Pipe |
openPipe() Unsupported. |
AbstractSelector |
openSelector() |
ServerSocket |
openServerSocket() Return a new ServerSocket. |
ServerSocketChannel |
openServerSocketChannel() Return a new ServerSocketChannel. |
Socket |
openSocket() Return a new Socket. |
SocketChannel |
openSocketChannel() Return a new SocketChannel. |
void |
setFactory(SocketProviderFactory factory) Specify the SocketProviderFactory associated with this provider. |
String |
toString() |
Methods inherited from class java.nio.channels.spi.SelectorProvider |
---|
provider |
Field Detail |
---|
protected SocketProviderFactory m_factory
public static final String XML_NAME
public static final SystemSocketProvider INSTANCE
Constructor Detail |
---|
public SystemSocketProvider()
Method Detail |
---|
public Socket openSocket() throws IOException
openSocket
in interface SocketProvider
IOException
- if an I/O related error occurspublic SocketChannel openSocketChannel() throws IOException
openSocketChannel
in interface SocketProvider
openSocketChannel
in class SelectorProvider
IOException
- if an I/O related error occurspublic ServerSocket openServerSocket() throws IOException
openServerSocket
in interface SocketProvider
IOException
- if an I/O related error occurspublic ServerSocketChannel openServerSocketChannel() throws IOException
openServerSocketChannel
in interface SocketProvider
openServerSocketChannel
in class SelectorProvider
IOException
- if an I/O related error occurspublic DatagramSocket openDatagramSocket() throws IOException
openDatagramSocket
in interface SocketProvider
IOException
- if an I/O related error occurspublic DatagramChannel openDatagramChannel() throws IOException
openDatagramChannel
in interface SocketProvider
openDatagramChannel
in class SelectorProvider
IOException
- if an I/O related error occurspublic MulticastSocket openMulticastSocket() throws IOException
openMulticastSocket
in interface SocketProvider
IOException
- if an I/O related error occurspublic void setFactory(SocketProviderFactory factory)
setFactory
in interface SocketProvider
factory
- the associated factorypublic SocketProviderFactory getFactory()
getFactory
in interface SocketProvider
public AbstractSelector openSelector() throws IOException
openSelector
in class SelectorProvider
IOException
public Pipe openPipe() throws IOException
openPipe
in class SelectorProvider
UnsupportedOperationException
IOException
public Channel inheritedChannel() throws IOException
inheritedChannel
in class SelectorProvider
UnsupportedOperationException
IOException
public String toString()
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |