Package com.sun.nio.sctp
Class SctpServerChannel
java.lang.Object
java.nio.channels.spi.AbstractInterruptibleChannel
java.nio.channels.SelectableChannel
java.nio.channels.spi.AbstractSelectableChannel
com.sun.nio.sctp.SctpServerChannel
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Channel
,InterruptibleChannel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract SctpChannel
accept()
abstract SctpServerChannel
bind
(SocketAddress local) abstract SctpServerChannel
bind
(SocketAddress local, int backlog) abstract SctpServerChannel
bindAddress
(InetAddress inetAddress) abstract Set
<SocketAddress> abstract <T> T
getOption
(SctpSocketOption<T> name) static SctpServerChannel
open()
abstract <T> SctpServerChannel
setOption
(SctpSocketOption<T> name, T value) abstract SctpServerChannel
unbindAddress
(InetAddress inetAddress) Methods inherited from class java.nio.channels.spi.AbstractSelectableChannel
blockingLock, configureBlocking, implCloseChannel, implCloseSelectableChannel, implConfigureBlocking, isBlocking, isRegistered, keyFor, provider, register
Methods inherited from class java.nio.channels.SelectableChannel
register, validOps
Methods inherited from class java.nio.channels.spi.AbstractInterruptibleChannel
begin, close, end, isOpen
-
Constructor Details
-
SctpServerChannel
-
-
Method Details
-
open
- Throws:
IOException
-
getOption
- Throws:
IOException
-
setOption
public abstract <T> SctpServerChannel setOption(SctpSocketOption<T> name, T value) throws IOException - Throws:
IOException
-
getAllLocalAddresses
- Throws:
IOException
-
bind
- Throws:
IOException
-
bind
- Throws:
IOException
-
bindAddress
- Throws:
IOException
-
unbindAddress
- Throws:
IOException
-
accept
- Throws:
IOException
-