Package tech.underoaks.coldcase.remote
Class Messages.AppendRemoteInteractionResponseMessage
java.lang.Object
tech.underoaks.coldcase.remote.Message
tech.underoaks.coldcase.remote.Messages.AppendRemoteInteractionResponseMessage
- Enclosing class:
Messages
Response message for an append remote interaction request.
Contains a queue of
Interaction objects resulting from the append operation.-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an emptyAppendRemoteInteractionResponseMessage.AppendRemoteInteractionResponseMessage(String remoteGameControllerInstanceId, Queue<Interaction> interactions) Constructs anAppendRemoteInteractionResponseMessagewith the specified remote game controller instance identifier and interactions. -
Method Summary
Modifier and TypeMethodDescriptionReturns the queue ofInteractionobjects associated with this response.voidsetInteractions(Queue<Interaction> interactions) Sets the queue ofInteractionobjects for this response.Methods inherited from class tech.underoaks.coldcase.remote.Message
getRemoteGameControllerInstanceId, setRemoteGameControllerInstanceId
-
Constructor Details
-
AppendRemoteInteractionResponseMessage
public AppendRemoteInteractionResponseMessage()Constructs an emptyAppendRemoteInteractionResponseMessage. -
AppendRemoteInteractionResponseMessage
public AppendRemoteInteractionResponseMessage(String remoteGameControllerInstanceId, Queue<Interaction> interactions) Constructs anAppendRemoteInteractionResponseMessagewith the specified remote game controller instance identifier and interactions.- Parameters:
remoteGameControllerInstanceId- the identifier of the remote game controller instanceinteractions- the queue ofInteractionobjects returned as a response
-
-
Method Details
-
getInteractions
Returns the queue ofInteractionobjects associated with this response.- Returns:
- the queue of interactions
-
setInteractions
Sets the queue ofInteractionobjects for this response.- Parameters:
interactions- the queue of interactions to set
-