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 classServerMethod.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServerMethod.Builderbuilder(Instance instance, String name)MethodDefinitiongetDefinition()StringgetId()InstancegetInstance()booleanisSupportsStreaming()StringtoString()
-
-
-
Method Detail
-
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()
-
builder
public static ServerMethod.Builder builder(Instance instance, String name)
-
-