| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public SctpChannel | accept()
Implements abstract com. Accepts an association on this channel's socket. |
| public SctpServerChannel | bind(SocketAddress local, int backlog)
Implements abstract com. Binds the channel's socket to a local address and configures the socket to listen for associations. |
| public SctpServerChannel | bindAddress(InetAddress address)
Implements abstract com. Adds the given address to the bound addresses for the channel's socket. |
| public Set | getAllLocalAddresses()
Implements abstract com. Returns all of the socket addresses to which this channel's socket is bound. |
| public <T> T | getOption(SctpSocketOption<T> name)
Implements abstract com. Returns the value of a socket option. |
| public void | implCloseSelectableChannel()
Implements abstract java. Closes this selectable channel. |
| protected void | implConfigureBlocking(boolean block)
Implements abstract java. Adjusts this channel's blocking mode. |
| public <T> SctpServerChannel | setOption(SctpSocketOption<T> name, T value)
Implements abstract com. Sets the value of a socket option. |
| public Set | supportedOptions()
Implements abstract com. Returns a set of the socket options supported by this channel. |
| public SctpServerChannel | unbindAddress(InetAddress address)
Implements abstract com. Removes the given address from the bound addresses for the channel's socket. |
| SctpServerChannelImpl | back to summary |
|---|---|
| public SctpServerChannelImpl(SelectorProvider provider) | |
| accept | back to summary |
|---|---|
| public SctpChannel accept() throws IOException Implements abstract com. Doc from com. Accepts an association on this channel's socket. If this channel is in non-blocking mode then this method will
immediately return The
| |
| bind | back to summary |
|---|---|
| public SctpServerChannel bind(SocketAddress local, int backlog) throws IOException Implements abstract com. Doc from com. Binds the channel's socket to a local address and configures the socket to listen for associations. This method is used to establish a relationship between the socket
and the local address. Once a relationship is established then
the socket remains bound until the channel is closed. This relationship
may not necesssarily be with the address Once the channel's socket has been successfully bound to a specific
address, that is not automatically assigned, more addresses
may be bound to it using The backlog parameter is the maximum number of pending associations
on the socket. Its exact semantics are implementation specific. An
implementation may impose an implementation specific maximum length or
may choose to ignore the parameter. If the backlog parameter has the
value
| |
| bindAddress | back to summary |
|---|---|
| public SctpServerChannel bindAddress(InetAddress address) throws IOException Implements abstract com. Doc from com. Adds the given address to the bound addresses for the channel's socket. The given address must not be the New associations accepted after this method successfully completes will be associated with the given address.
| |
| getAllLocalAddresses | back to summary |
|---|---|
| public Set Implements abstract com. Doc from com. Returns all of the socket addresses to which this channel's socket is bound.
| |
| getOption | back to summary |
|---|---|
| public <T> T getOption(SctpSocketOption<T> name) throws IOException Implements abstract com. Doc from com. Returns the value of a socket option.
| |
| implCloseSelectableChannel | back to summary |
|---|---|
| public void implCloseSelectableChannel() throws IOException Implements abstract java. Doc from java. Closes this selectable channel. This method is invoked by the An implementation of this method must arrange for any other thread that is blocked in an I/O operation upon this channel to return immediately, either by throwing an exception or by returning normally.
| |
| implConfigureBlocking | back to summary |
|---|---|
| protected void implConfigureBlocking(boolean block) throws IOException Implements abstract java. Doc from java. Adjusts this channel's blocking mode. This method is invoked by the
| |
| setOption | back to summary |
|---|---|
| public <T> SctpServerChannel setOption(SctpSocketOption<T> name, T value) throws IOException Implements abstract com. Doc from com. Sets the value of a socket option.
| |
| supportedOptions | back to summary |
|---|---|
| public Set Implements abstract com. Doc from com. Returns a set of the socket options supported by this channel. This method will continue to return the set of options even after the channel has been closed.
| |
| unbindAddress | back to summary |
|---|---|
| public SctpServerChannel unbindAddress(InetAddress address) throws IOException Implements abstract com. Doc from com. Removes the given address from the bound addresses for the channel's socket. The given address must not be the New associations accepted after this method successfully completes will not be associated with the given address.
| |