|
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 |
INSTANCEA shareable SystemSocketProvider. |
protected SocketProviderFactory |
m_factoryThe associated factory. |
static String |
XML_NAMEThe 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 SocketProviderIOException - if an I/O related error occurs
public SocketChannel openSocketChannel()
throws IOException
openSocketChannel in interface SocketProvideropenSocketChannel in class SelectorProviderIOException - if an I/O related error occurs
public ServerSocket openServerSocket()
throws IOException
openServerSocket in interface SocketProviderIOException - if an I/O related error occurs
public ServerSocketChannel openServerSocketChannel()
throws IOException
openServerSocketChannel in interface SocketProvideropenServerSocketChannel in class SelectorProviderIOException - if an I/O related error occurs
public DatagramSocket openDatagramSocket()
throws IOException
openDatagramSocket in interface SocketProviderIOException - if an I/O related error occurs
public DatagramChannel openDatagramChannel()
throws IOException
openDatagramChannel in interface SocketProvideropenDatagramChannel in class SelectorProviderIOException - if an I/O related error occurs
public MulticastSocket openMulticastSocket()
throws IOException
openMulticastSocket in interface SocketProviderIOException - if an I/O related error occurspublic void setFactory(SocketProviderFactory factory)
setFactory in interface SocketProviderfactory - the associated factorypublic SocketProviderFactory getFactory()
getFactory in interface SocketProvider
public AbstractSelector openSelector()
throws IOException
openSelector in class SelectorProviderIOException
public Pipe openPipe()
throws IOException
openPipe in class SelectorProviderUnsupportedOperationExceptionIOException
public Channel inheritedChannel()
throws IOException
inheritedChannel in class SelectorProviderUnsupportedOperationExceptionIOExceptionpublic 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 | |||||||