Package com.tick42.glue.core.interop

# Class ServerMethod

java.lang.Object
com.tick42.glue.core.interop.ServerMethod

    public class ServerMethod
    extends Object

A method backed by a specific server instance.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type | Class | Description
  --- | --- | ---
  `static class` | `ServerMethod.Builder` |

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `static ServerMethod.Builder` | `builder​(Instance instance, String name)` |
  `MethodDefinition` | `getDefinition()` |
  `String` | `getId()` |
  `Instance` | `getInstance()` |
  `boolean` | `isSupportsStreaming()` |
  `String` | `toString()` |

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

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

- ## Method Details

  - ### getId

    public String getId()
    Returns:
      string identifying this method, never `null`
    Since:
      1.1

  - ### getInstance

    public Instance getInstance()

  - ### getDefinition

    public MethodDefinition getDefinition()

  - ### isSupportsStreaming

    public boolean isSupportsStreaming()

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### builder

    public static ServerMethod.Builder builder​(Instance instance, String name)