|
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 |
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 java.lang.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. |
java.nio.channels.Channel |
inheritedChannel() Unsupported. |
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.nio.channels.Pipe |
openPipe() Unsupported. |
java.nio.channels.spi.AbstractSelector |
openSelector() |
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. |
java.lang.String |
toString() |
Methods inherited from class java.nio.channels.spi.SelectorProvider |
---|
provider |
Field Detail |
---|
protected SocketProviderFactory m_factory
public static final java.lang.String XML_NAME
public static final SystemSocketProvider INSTANCE
Constructor Detail |
---|
public SystemSocketProvider()
Method Detail |
---|
public java.net.Socket openSocket() throws java.io.IOException
openSocket
in interface SocketProvider
java.io.IOException
- if an I/O related error occurspublic java.nio.channels.SocketChannel openSocketChannel() throws java.io.IOException
openSocketChannel
in interface SocketProvider
openSocketChannel
in class java.nio.channels.spi.SelectorProvider
java.io.IOException
- if an I/O related error occurspublic java.net.ServerSocket openServerSocket() throws java.io.IOException
openServerSocket
in interface SocketProvider
java.io.IOException
- if an I/O related error occurspublic java.nio.channels.ServerSocketChannel openServerSocketChannel() throws java.io.IOException
openServerSocketChannel
in interface SocketProvider
openServerSocketChannel
in class java.nio.channels.spi.SelectorProvider
java.io.IOException
- if an I/O related error occurspublic java.net.DatagramSocket openDatagramSocket() throws java.io.IOException
openDatagramSocket
in interface SocketProvider
java.io.IOException
- if an I/O related error occurspublic java.nio.channels.DatagramChannel openDatagramChannel() throws java.io.IOException
openDatagramChannel
in interface SocketProvider
openDatagramChannel
in class java.nio.channels.spi.SelectorProvider
java.io.IOException
- if an I/O related error occurspublic java.net.MulticastSocket openMulticastSocket() throws java.io.IOException
openMulticastSocket
in interface SocketProvider
java.io.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 java.nio.channels.spi.AbstractSelector openSelector() throws java.io.IOException
openSelector
in class java.nio.channels.spi.SelectorProvider
java.io.IOException
public java.nio.channels.Pipe openPipe() throws java.io.IOException
openPipe
in class java.nio.channels.spi.SelectorProvider
java.lang.UnsupportedOperationException
java.io.IOException
public java.nio.channels.Channel inheritedChannel() throws java.io.IOException
inheritedChannel
in class java.nio.channels.spi.SelectorProvider
java.lang.UnsupportedOperationException
java.io.IOException
public java.lang.String toString()
|
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 |