Package tech.underoaks.coldcase.remote
Class Messages.AppendRemoteInteractionMessage
java.lang.Object
tech.underoaks.coldcase.remote.Message
tech.underoaks.coldcase.remote.Messages.AppendRemoteInteractionMessage
- Enclosing class:
Messages
Message used to append an interaction to a remote interaction chain.
Contains an
Interaction and a flag to suppress transcendent follow-up interactions.-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an emptyAppendRemoteInteractionMessage.AppendRemoteInteractionMessage(String remoteGameControllerInstanceId, Interaction interaction, boolean suppressTranscendentFollowUp) Constructs anAppendRemoteInteractionMessagewith the specified remote game controller instance identifier, interaction, and flag indicating whether to suppress transcendent follow-up. -
Method Summary
Modifier and TypeMethodDescriptionReturns theInteractionassociated with this message.booleanReturns whether transcendent follow-up interactions should be suppressed.voidsetInteraction(Interaction interaction) Sets theInteractionfor this message.voidsetSuppressTranscendentFollowUp(boolean suppressTranscendentFollowUp) Sets the flag indicating whether transcendent follow-up interactions should be suppressed.Methods inherited from class tech.underoaks.coldcase.remote.Message
getRemoteGameControllerInstanceId, setRemoteGameControllerInstanceId
-
Constructor Details
-
AppendRemoteInteractionMessage
public AppendRemoteInteractionMessage()Constructs an emptyAppendRemoteInteractionMessage. -
AppendRemoteInteractionMessage
public AppendRemoteInteractionMessage(String remoteGameControllerInstanceId, Interaction interaction, boolean suppressTranscendentFollowUp) Constructs anAppendRemoteInteractionMessagewith the specified remote game controller instance identifier, interaction, and flag indicating whether to suppress transcendent follow-up.- Parameters:
remoteGameControllerInstanceId- the identifier of the remote game controller instanceinteraction- theInteractionto be appendedsuppressTranscendentFollowUp- flag indicating whether to suppress transcendent follow-up interactions
-
-
Method Details
-
getSuppressTranscendentFollowUp
public boolean getSuppressTranscendentFollowUp()Returns whether transcendent follow-up interactions should be suppressed.- Returns:
trueif transcendent follow-up should be suppressed,falseotherwise
-
setSuppressTranscendentFollowUp
public void setSuppressTranscendentFollowUp(boolean suppressTranscendentFollowUp) Sets the flag indicating whether transcendent follow-up interactions should be suppressed.- Parameters:
suppressTranscendentFollowUp-trueto suppress follow-up interactions,falseotherwise
-
getInteraction
Returns theInteractionassociated with this message.- Returns:
- the
Interactionto be appended remotely
-
setInteraction
Sets theInteractionfor this message.- Parameters:
interaction- theInteractionto be appended
-