Class RemoteProcedureCallData
java.lang.Object
live.crowdcontrol.cc4j.websocket.data.RemoteProcedureCallData
Data holder for initiating a remote procedure call.
-
Constructor Summary
ConstructorsConstructorDescriptionRemoteProcedureCallData(@NotNull String token, @NotNull CallData<?> call) Creates a call. -
Method Summary
-
Constructor Details
-
RemoteProcedureCallData
Creates a call.- Parameters:
token- the token used to authenticatecall- the data of the call
-
-
Method Details
-
getToken
Gets the token used to authenticate this call.- Returns:
- JWT token
-
getCall
Gets the data of this call.- Returns:
- call data
-