org.redkale.net.sncp

## 类 SncpResponse

- java.lang.Object
- - org.redkale.net.Response<SncpContext,SncpRequest>
  - - org.redkale.net.sncp.SncpResponse

-     public final class SncpResponse
      extends Response<SncpContext,SncpRequest>

  详情见: http://www.redkale.org

- - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `static int` | `RETCODE_ILLACTIONID`
    `static int` | `RETCODE_ILLNAMEID`
    `static int` | `RETCODE_ILLSERVICEID`
    `static int` | `RETCODE_THROWEXCEPTION`

    - ### 从类继承的字段 org.redkale.net.Response

      `channel, context, recycleListener, request`

  - ### 构造器概要

    构造器
    限定符 | 构造器和说明
    --- | ---
    `protected` | `SncpResponse(SncpContext context, SncpRequest request)`

  - ### 方法概要

    所有方法 静态方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `static ObjectPool<Response>` | `createPool(java.util.concurrent.atomic.AtomicLong creatCounter, java.util.concurrent.atomic.AtomicLong cycleCounter, int max, Creator<Response> creator)`
    `void` | `finish(int retcode, BsonWriter out)`
    `static java.lang.String` | `getRetCodeInfo(int retcode)`

    - ### 从类继承的方法 org.redkale.net.Response

      `finish, finish, finish, finish, finish, finish, getContext, init, prepare, recycle, refuseAlive, removeChannel, send, send, setRecycleListener`

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

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

- - ### 字段详细资料

    - #### RETCODE_ILLSERVICEID

          public static final int RETCODE_ILLSERVICEID

      另请参阅:
        常量字段值

    - #### RETCODE_ILLNAMEID

          public static final int RETCODE_ILLNAMEID

      另请参阅:
        常量字段值

    - #### RETCODE_ILLACTIONID

          public static final int RETCODE_ILLACTIONID

      另请参阅:
        常量字段值

    - #### RETCODE_THROWEXCEPTION

          public static final int RETCODE_THROWEXCEPTION

      另请参阅:
        常量字段值

  - ### 构造器详细资料

    - #### SncpResponse

          protected SncpResponse(SncpContext context,
                                 SncpRequest request)

  - ### 方法详细资料

    - #### createPool

          public static ObjectPool<Response> createPool(java.util.concurrent.atomic.AtomicLong creatCounter,
                                                        java.util.concurrent.atomic.AtomicLong cycleCounter,
                                                        int max,
                                                        Creator<Response> creator)

    - #### getRetCodeInfo

          public static java.lang.String getRetCodeInfo(int retcode)

    - #### finish

          public void finish(int retcode,
                             BsonWriter out)