Package io.vertx.reactivex.grpc.common

## Class ServiceMethod<I,​O>

- java.lang.Object
- - io.vertx.reactivex.grpc.common.ServiceMethod<I,​O>

-     public class ServiceMethod<I,​O>
      extends Object

  Bundle all the bits required to call or bind a grpc service method.

  NOTE: This class has been automatically generated from the `original` non RX-ified interface using Vert.x codegen.

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static io.vertx.lang.rx.TypeArg<ServiceMethod>` | `__TYPE_ARG` |
    `io.vertx.lang.rx.TypeArg<I>` | `__typeArg_0` |
    `io.vertx.lang.rx.TypeArg<O>` | `__typeArg_1` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ServiceMethod​(ServiceMethod delegate)` |
    `ServiceMethod​(Object delegate, io.vertx.lang.rx.TypeArg<I> typeArg_0, io.vertx.lang.rx.TypeArg<O> typeArg_1)` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static <Req,​Resp> ServiceMethod<Resp,​Req>` | `client​(ServiceName serviceName, String methodName, GrpcMessageEncoder<Req> encoder, GrpcMessageDecoder<Resp> decoder)` |
    `GrpcMessageDecoder<I>` | `decoder()` |
    `GrpcMessageEncoder<O>` | `encoder()` |
    `boolean` | `equals​(Object o)` |
    `String` | `fullMethodName()` |
    `ServiceMethod` | `getDelegate()` |
    `int` | `hashCode()` |
    `String` | `methodName()` |
    `static <I,​O> ServiceMethod<I,​O>` | `newInstance​(ServiceMethod arg)` |
    `static <I,​O> ServiceMethod<I,​O>` | `newInstance​(ServiceMethod arg, io.vertx.lang.rx.TypeArg<I> __typeArg_I, io.vertx.lang.rx.TypeArg<O> __typeArg_O)` |
    `static <Req,​Resp> ServiceMethod<Req,​Resp>` | `server​(ServiceName serviceName, String methodName, GrpcMessageEncoder<Resp> encoder, GrpcMessageDecoder<Req> decoder)` |
    `ServiceName` | `serviceName()` |
    `String` | `toString()` |

    - ### Methods inherited from class java.lang.Object

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

- - ### Field Detail

    - #### __TYPE_ARG

          public static final io.vertx.lang.rx.TypeArg<ServiceMethod> __TYPE_ARG

    - #### __typeArg_0

          public final io.vertx.lang.rx.TypeArg<I> __typeArg_0

    - #### __typeArg_1

          public final io.vertx.lang.rx.TypeArg<O> __typeArg_1

  - ### Constructor Detail

    - #### ServiceMethod

          public ServiceMethod​(ServiceMethod delegate)

    - #### ServiceMethod

          public ServiceMethod​(Object delegate,
                               io.vertx.lang.rx.TypeArg<I> typeArg_0,
                               io.vertx.lang.rx.TypeArg<O> typeArg_1)

  - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### equals

          public boolean equals​(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### getDelegate

          public ServiceMethod getDelegate()

    - #### client

          public static <Req,​Resp> ServiceMethod<Resp,​Req> client​(ServiceName serviceName,
                                                                              String methodName,
                                                                              GrpcMessageEncoder<Req> encoder,
                                                                              GrpcMessageDecoder<Resp> decoder)

    - #### server

          public static <Req,​Resp> ServiceMethod<Req,​Resp> server​(ServiceName serviceName,
                                                                              String methodName,
                                                                              GrpcMessageEncoder<Resp> encoder,
                                                                              GrpcMessageDecoder<Req> decoder)

    - #### serviceName

          public ServiceName serviceName()

      Returns:
        the service name.

    - #### methodName

          public String methodName()

      Returns:
        the method name

    - #### fullMethodName

          public String fullMethodName()

    - #### decoder

          public GrpcMessageDecoder<I> decoder()

      Returns:
        the message decoder

    - #### encoder

          public GrpcMessageEncoder<O> encoder()

      Returns:
        the message encoder

    - #### newInstance

          public static <I,​O> ServiceMethod<I,​O> newInstance​(ServiceMethod arg)

    - #### newInstance

          public static <I,​O> ServiceMethod<I,​O> newInstance​(ServiceMethod arg,
                                                                         io.vertx.lang.rx.TypeArg<I> __typeArg_I,
                                                                         io.vertx.lang.rx.TypeArg<O> __typeArg_O)