Package org.red5.io.sctp
Class SctpServerChannel
- java.lang.Object
-
- java.nio.channels.spi.AbstractInterruptibleChannel
-
- java.nio.channels.SelectableChannel
-
- java.nio.channels.spi.AbstractSelectableChannel
-
- org.red5.io.sctp.SctpServerChannel
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Channel,InterruptibleChannel
- Direct Known Subclasses:
SctpServerChanneOverUDP
public abstract class SctpServerChannel extends AbstractSelectableChannel
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSctpServerChannel(SelectorProvider provider)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract SctpChannelaccept()SctpServerChannelbind(SocketAddress local)abstract SctpServerChannelbind(SocketAddress local, int backlog)abstract SctpServerChannelbindAddress(InetAddress address)abstract Set<SocketAddress>getAllLocalAddresses()static SctpServerChannelopen()abstract <T> SctpServerChannelsetOption(SctpSocketOption<T> name, T value)abstract Set<SctpSocketOption<?>>supportedOptions()abstract SctpServerChannelunbindAddress(InetAddress address)intvalidOps()-
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
-
Methods inherited from class java.nio.channels.spi.AbstractInterruptibleChannel
begin, close, end, isOpen
-
-
-
-
Constructor Detail
-
SctpServerChannel
protected SctpServerChannel(SelectorProvider provider)
-
-
Method Detail
-
accept
public abstract SctpChannel accept() throws IOException, SctpException, InvalidKeyException, NoSuchAlgorithmException
-
bind
public abstract SctpServerChannel bind(SocketAddress local, int backlog) throws IOException
- Throws:
IOException
-
bindAddress
public abstract SctpServerChannel bindAddress(InetAddress address) throws IOException
- Throws:
IOException
-
getAllLocalAddresses
public abstract Set<SocketAddress> getAllLocalAddresses() throws IOException
- Throws:
IOException
-
unbindAddress
public abstract SctpServerChannel unbindAddress(InetAddress address) throws IOException
- Throws:
IOException
-
setOption
public abstract <T> SctpServerChannel setOption(SctpSocketOption<T> name, T value) throws IOException
- Throws:
IOException
-
supportedOptions
public abstract Set<SctpSocketOption<?>> supportedOptions()
-
open
public static SctpServerChannel open() throws IOException, InvalidKeyException, NoSuchAlgorithmException
-
bind
public final SctpServerChannel bind(SocketAddress local) throws IOException
- Throws:
IOException
-
validOps
public int validOps()
- Specified by:
validOpsin classSelectableChannel
-
-