org.redkale.net.sncp

## 类 SncpClient

- java.lang.Object
- - org.redkale.net.sncp.SncpClient

-     public final class SncpClient
      extends java.lang.Object

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

- - ### 嵌套类概要

    嵌套类
    限定符和类型 | 类和说明
    --- | ---
    `protected static class` | `SncpClient.SncpAction`
    `protected static class` | `SncpClient.SncpFuture<T>`

  - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `protected SncpClient.SncpAction[]` | `actions`
    `protected java.net.InetSocketAddress` | `clientAddress`
    `protected java.util.function.Consumer<java.lang.Runnable>` | `executor`
    `protected boolean` | `finest`
    `protected JsonConvert` | `jsonConvert`
    `protected static java.util.logging.Logger` | `logger`
    `protected java.lang.String` | `name`
    `protected DLong` | `nameid`
    `protected boolean` | `remote`
    `protected DLong` | `serviceid`

  - ### 构造器概要

    构造器
    构造器和说明
    `SncpClient(java.lang.String serviceName, java.util.function.Consumer<java.lang.Runnable> executor, DLong serviceid, boolean remote, java.lang.Class serviceClass, java.net.InetSocketAddress clientAddress)`

  - ### 方法概要

    所有方法 静态方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `asyncRemoteDiffGroup(BsonConvert convert, Transport[] transports, int index, java.lang.Object... params)`
    `void` | `asyncRemoteSameGroup(BsonConvert convert, Transport transport, int index, java.lang.Object... params)`
    `int` | `getActionCount()`
    `java.net.InetSocketAddress` | `getClientAddress()`
    `DLong` | `getNameid()`
    `DLong` | `getServiceid()`
    `static java.util.List<java.lang.reflect.Method>` | `parseMethod(java.lang.Class serviceClass)`
    `<T> void` | `remote(BsonConvert convert, Transport[] transports, int index, java.lang.Object... params)`
    `<T> T` | `remote(BsonConvert convert, Transport transport, int index, java.lang.Object... params)`
    `void` | `remoteDiffGroup(BsonConvert convert, Transport[] transports, int index, java.lang.Object... params)`
    `void` | `remoteSameGroup(BsonConvert convert, Transport transport, int index, java.lang.Object... params)`
    `java.lang.String` | `toString()`

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

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

- - ### 字段详细资料

    - #### logger

          protected static final java.util.logging.Logger logger

    - #### finest

          protected final boolean finest

    - #### jsonConvert

          protected final JsonConvert jsonConvert

    - #### name

          protected final java.lang.String name

    - #### remote

          protected final boolean remote

    - #### clientAddress

          protected final java.net.InetSocketAddress clientAddress

    - #### serviceid

          protected final DLong serviceid

    - #### nameid

          protected final DLong nameid

    - #### actions

          protected final SncpClient.SncpAction[] actions

    - #### executor

          protected final java.util.function.Consumer<java.lang.Runnable> executor

  - ### 构造器详细资料

    - #### SncpClient

          public SncpClient(java.lang.String serviceName,
                            java.util.function.Consumer<java.lang.Runnable> executor,
                            DLong serviceid,
                            boolean remote,
                            java.lang.Class serviceClass,
                            java.net.InetSocketAddress clientAddress)

  - ### 方法详细资料

    - #### getClientAddress

          public java.net.InetSocketAddress getClientAddress()

    - #### getNameid

          public DLong getNameid()

    - #### getServiceid

          public DLong getServiceid()

    - #### getActionCount

          public int getActionCount()

    - #### toString

          public java.lang.String toString()

      覆盖:
        `toString` 在类中 `java.lang.Object`

    - #### parseMethod

          public static java.util.List<java.lang.reflect.Method> parseMethod(java.lang.Class serviceClass)

    - #### remoteSameGroup

          public void remoteSameGroup(BsonConvert convert,
                                      Transport transport,
                                      int index,
                                      java.lang.Object... params)

    - #### asyncRemoteSameGroup

          public void asyncRemoteSameGroup(BsonConvert convert,
                                           Transport transport,
                                           int index,
                                           java.lang.Object... params)

    - #### remoteDiffGroup

          public void remoteDiffGroup(BsonConvert convert,
                                      Transport[] transports,
                                      int index,
                                      java.lang.Object... params)

    - #### asyncRemoteDiffGroup

          public void asyncRemoteDiffGroup(BsonConvert convert,
                                           Transport[] transports,
                                           int index,
                                           java.lang.Object... params)

    - #### remote

          public <T> T remote(BsonConvert convert,
                              Transport transport,
                              int index,
                              java.lang.Object... params)

    - #### remote

          public <T> void remote(BsonConvert convert,
                                 Transport[] transports,
                                 int index,
                                 java.lang.Object... params)