Class CallData<A>
java.lang.Object
live.crowdcontrol.cc4j.websocket.data.CallData<A>
Data describing a remote procedure to be called.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCallData(@NotNull CallDataMethod<A> method, @NotNull List<A> args) Creates a new call. -
Method Summary
Modifier and TypeMethodDescriptiongetArgs()Gets the unmodifiable list of arguments to be provided to the remote method.@NotNull UUIDgetId()Gets the randomly generated ID representing this call.@NotNull StringGets the name of the method being called.@NotNull StringgetType()The type of the call.
-
Field Details
-
type
-
id
-
method
-
args
-
-
Constructor Details
-
CallData
Creates a new call.- Parameters:
method- method to callargs- arguments to provide to the call
-
-
Method Details
-
getType
The type of the call. This is only known to becall.- Returns:
- call type
-
getId
Gets the randomly generated ID representing this call.- Returns:
- unique ID
-
getMethod
Gets the name of the method being called.- Returns:
- call method
-
getArgs
Gets the unmodifiable list of arguments to be provided to the remote method.- Returns:
- call args
-