public final class UpdateModelMessage extends Message
Modifier and Type | Class and Description |
---|---|
static class |
UpdateModelMessage.Command
Commands to control model update.
|
Constructor and Description |
---|
UpdateModelMessage(Identifier sender,
Identifier receiver,
UpdateModelMessage.Command command)
Creates new instance
|
Modifier and Type | Method and Description |
---|---|
UpdateModelMessage.Command |
getCommand()
Returns the model update command.
|
String |
toString() |
equals, getReceiver, getSender, hashCode
public UpdateModelMessage(Identifier sender, Identifier receiver, UpdateModelMessage.Command command)
sender
- the senderreceiver
- the receivercommand
- the model update commandNullPointerException
- if receiver
or command
is nullpublic UpdateModelMessage.Command getCommand()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.