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.
|
java.lang.String |
toString() |
equals, getReceiver, getSender, hashCode
public UpdateModelMessage(Identifier sender, Identifier receiver, UpdateModelMessage.Command command)
sender
- the senderreceiver
- the receivercommand
- the model update commandjava.lang.NullPointerException
- if receiver
or command
is nullpublic UpdateModelMessage.Command getCommand()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.