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:
java.io.Closeable, java.lang.AutoCloseable, java.nio.channels.Channel, java.nio.channels.InterruptibleChannel

public abstract class SctpServerChannel extends java.nio.channels.spi.AbstractSelectableChannel
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    SctpServerChannel(java.nio.channels.spi.SelectorProvider provider)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract SctpChannel
     
    bind(java.net.SocketAddress local)
     
    bind(java.net.SocketAddress local, int backlog)
     
    bindAddress(java.net.InetAddress inetAddress)
     
    abstract java.util.Set<java.net.SocketAddress>
     
    abstract <T> T
     
     
    abstract <T> SctpServerChannel
    setOption(SctpSocketOption<T> name, T value)
     
    unbindAddress(java.net.InetAddress inetAddress)
     

    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, validOps

    Methods inherited from class java.nio.channels.spi.AbstractInterruptibleChannel

    begin, close, end, isOpen

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.nio.channels.Channel

    isOpen
  • Constructor Details

    • SctpServerChannel

      protected SctpServerChannel(java.nio.channels.spi.SelectorProvider provider)
  • Method Details

    • open

      public static SctpServerChannel open() throws java.io.IOException
      Throws:
      java.io.IOException
    • getOption

      public abstract <T> T getOption(SctpSocketOption<T> name) throws java.io.IOException
      Throws:
      java.io.IOException
    • setOption

      public abstract <T> SctpServerChannel setOption(SctpSocketOption<T> name, T value) throws java.io.IOException
      Throws:
      java.io.IOException
    • getAllLocalAddresses

      public abstract java.util.Set<java.net.SocketAddress> getAllLocalAddresses() throws java.io.IOException
      Throws:
      java.io.IOException
    • bind

      public abstract SctpServerChannel bind(java.net.SocketAddress local) throws java.io.IOException
      Throws:
      java.io.IOException
    • bind

      public abstract SctpServerChannel bind(java.net.SocketAddress local, int backlog) throws java.io.IOException
      Throws:
      java.io.IOException
    • bindAddress

      public abstract SctpServerChannel bindAddress(java.net.InetAddress inetAddress) throws java.io.IOException
      Throws:
      java.io.IOException
    • unbindAddress

      public abstract SctpServerChannel unbindAddress(java.net.InetAddress inetAddress) throws java.io.IOException
      Throws:
      java.io.IOException
    • accept

      public abstract SctpChannel accept() throws java.io.IOException
      Throws:
      java.io.IOException