Class SctpChannel
- All Implemented Interfaces:
Closeable, AutoCloseable, Channel, InterruptibleChannel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Associationabstract SctpChannelbind(SocketAddress local) abstract SctpChannelbindAddress(InetAddress inetAddress) abstract booleanconnect(SocketAddress remote) abstract booleanabstract Set<SocketAddress> abstract <T> TgetOption(SctpSocketOption<T> name) abstract Set<SocketAddress> static SctpChannelopen()abstract <T> MessageInforeceive(ByteBuffer dst, T attachment, NotificationHandler<T> handler) abstract intsend(ByteBuffer src, MessageInfo messageInfo) abstract <T> SctpChannelsetOption(SctpSocketOption<T> name, T value) abstract Set<SctpSocketOption<?>> abstract SctpChannelunbindAddress(InetAddress inetAddress) Methods inherited from class AbstractSelectableChannel
blockingLock, configureBlocking, implCloseChannel, implCloseSelectableChannel, implConfigureBlocking, isBlocking, isRegistered, keyFor, provider, registerMethods inherited from class SelectableChannel
register, validOpsMethods inherited from class AbstractInterruptibleChannel
begin, close, end, isOpen
-
Constructor Details
-
SctpChannel
-
-
Method Details
-
open
- Throws:
IOException
-
getOption
- Throws:
IOException
-
setOption
- Throws:
IOException
-
getAllLocalAddresses
- Throws:
IOException
-
getRemoteAddresses
- Throws:
IOException
-
association
- Throws:
IOException
-
bind
- Throws:
IOException
-
connect
- Throws:
IOException
-
finishConnect
- Throws:
IOException
-
bindAddress
- Throws:
IOException
-
unbindAddress
- Throws:
IOException
-
receive
public abstract <T> MessageInfo receive(ByteBuffer dst, T attachment, NotificationHandler<T> handler) throws IOException - Throws:
IOException
-
send
- Throws:
IOException
-
supportedOptions
-