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 SctpChannelaccept()abstract SctpServerChannelbind(SocketAddress local) abstract SctpServerChannelbind(SocketAddress local, int backlog) abstract SctpServerChannelbindAddress(InetAddress inetAddress) abstract Set<SocketAddress> abstract <T> TgetOption(SctpSocketOption<T> name) static SctpServerChannelopen()abstract <T> SctpServerChannelsetOption(SctpSocketOption<T> name, T value) abstract SctpServerChannelunbindAddress(InetAddress inetAddress) Methods inherited from class java.nio.channels.spi.AbstractSelectableChannel
blockingLock, configureBlocking, implCloseChannel, implCloseSelectableChannel, implConfigureBlocking, isBlocking, isRegistered, keyFor, provider, registerMethods inherited from class java.nio.channels.SelectableChannel
register, validOpsMethods 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
-