public class SctpServerChanneOverUDP extends SctpServerChannel implements IServerChannelControl
| Modifier | Constructor and Description |
|---|---|
protected |
SctpServerChanneOverUDP(SelectorProvider provider) |
| Modifier and Type | Method and Description |
|---|---|
SctpChannel |
accept() |
boolean |
addPendingChannel(InetSocketAddress address,
int initialTSN,
int verificationTag) |
SctpServerChannel |
bind(SocketAddress local,
int backlog) |
SctpServerChannel |
bindAddress(InetAddress address) |
Set<SocketAddress> |
getAllLocalAddresses() |
Mac |
getMac() |
IAssociationControl |
getPendingChannel(InetSocketAddress address) |
int |
getPort() |
Random |
getRandom() |
protected void |
implCloseSelectableChannel() |
protected void |
implConfigureBlocking(boolean block) |
void |
removePendingChannel(InetSocketAddress address) |
void |
send(SctpPacket packet,
InetSocketAddress address) |
<T> SctpServerChannel |
setOption(SctpSocketOption<T> name,
T value) |
Set<SctpSocketOption<?>> |
supportedOptions() |
SctpServerChannel |
unbindAddress(InetAddress address) |
bind, open, validOpsblockingLock, configureBlocking, implCloseChannel, isBlocking, isRegistered, keyFor, provider, registerregisterbegin, close, end, isOpenprotected SctpServerChanneOverUDP(SelectorProvider provider) throws NoSuchAlgorithmException, InvalidKeyException
public SctpChannel accept() throws IOException, SctpException, InvalidKeyException, NoSuchAlgorithmException
accept in class SctpServerChannelIOExceptionSctpExceptionInvalidKeyExceptionNoSuchAlgorithmExceptionpublic SctpServerChannel bind(SocketAddress local, int backlog) throws IOException
bind in class SctpServerChannelIOExceptionpublic Mac getMac()
getMac in interface IServerChannelControlpublic boolean addPendingChannel(InetSocketAddress address, int initialTSN, int verificationTag) throws SocketException
addPendingChannel in interface IServerChannelControlSocketExceptionpublic IAssociationControl getPendingChannel(InetSocketAddress address)
getPendingChannel in interface IServerChannelControlpublic int getPort()
getPort in interface IServerChannelControlpublic void send(SctpPacket packet, InetSocketAddress address) throws IOException
send in interface IServerChannelControlIOExceptionpublic Random getRandom()
getRandom in interface IServerChannelControlpublic void removePendingChannel(InetSocketAddress address)
removePendingChannel in interface IServerChannelControlpublic SctpServerChannel bindAddress(InetAddress address) throws IOException
bindAddress in class SctpServerChannelIOExceptionpublic Set<SocketAddress> getAllLocalAddresses() throws IOException
getAllLocalAddresses in class SctpServerChannelIOExceptionprotected void implCloseSelectableChannel()
throws IOException
implCloseSelectableChannel in class AbstractSelectableChannelIOExceptionprotected void implConfigureBlocking(boolean block)
throws IOException
implConfigureBlocking in class AbstractSelectableChannelIOExceptionpublic SctpServerChannel unbindAddress(InetAddress address) throws IOException
unbindAddress in class SctpServerChannelIOExceptionpublic <T> SctpServerChannel setOption(SctpSocketOption<T> name, T value) throws IOException
setOption in class SctpServerChannelIOExceptionpublic Set<SctpSocketOption<?>> supportedOptions()
supportedOptions in class SctpServerChannelCopyright © 2005–2017 Red5. All rights reserved.