org.redkale.net

## 类 ProtocolServer

- java.lang.Object
- - org.redkale.net.ProtocolServer

-     public abstract class ProtocolServer
      extends java.lang.Object

  详情见: https://redkale.org

- - ### 构造器概要

    构造器
    构造器和说明
    `ProtocolServer()`

  - ### 方法概要

    所有方法 静态方法 实例方法 抽象方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `abstract void` | `accept()`
    `abstract void` | `bind(java.net.SocketAddress local, int backlog)`
    `abstract void` | `close()`
    `static ProtocolServer` | `create(java.lang.String protocol, Context context)`
    `abstract java.nio.channels.AsynchronousChannelGroup` | `getChannelGroup()`
    `abstract void` | `open()`
    `abstract <T> void` | `setOption(java.net.SocketOption<T> name, T value)`
    `abstract <T> java.util.Set<java.net.SocketOption<?>>` | `supportedOptions()`

    - ### 从类继承的方法 java.lang.Object

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

- - ### 构造器详细资料

    - #### ProtocolServer

          public ProtocolServer()

  - ### 方法详细资料

    - #### open

          public abstract void open()
                             throws java.io.IOException

      抛出:
        `java.io.IOException`

    - #### bind

          public abstract void bind(java.net.SocketAddress local,
                                    int backlog)
                             throws java.io.IOException

      抛出:
        `java.io.IOException`

    - #### supportedOptions

          public abstract <T> java.util.Set<java.net.SocketOption<?>> supportedOptions()

    - #### setOption

          public abstract <T> void setOption(java.net.SocketOption<T> name,
                                             T value)
                                      throws java.io.IOException

      抛出:
        `java.io.IOException`

    - #### accept

          public abstract void accept()

    - #### close

          public abstract void close()
                              throws java.io.IOException

      抛出:
        `java.io.IOException`

    - #### getChannelGroup

          public abstract java.nio.channels.AsynchronousChannelGroup getChannelGroup()

    - #### create

          public static ProtocolServer create(java.lang.String protocol,
                                              Context context)