public final class TodoMessage extends Message
Constructor and Description |
---|
TodoMessage(Identifier sender,
Identifier receiver,
byte[] content)
Creates new instance.
|
TodoMessage(Identifier sender,
Identifier receiver,
ModelInstance detachedModelInstance)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getContent()
Returns the content.
|
ModelInstance |
getDetachedModelInstance()
Returns detached model instance of the todo.
|
String |
toString() |
equals, getReceiver, getSender, hashCode
public TodoMessage(Identifier sender, Identifier receiver, byte[] content)
sender
- the senderreceiver
- the receivercontent
- the contentNullPointerException
- if receiver
is nullpublic TodoMessage(Identifier sender, Identifier receiver, ModelInstance detachedModelInstance)
sender
- receiver
- detachedModelInstance
- public byte[] getContent()
public ModelInstance getDetachedModelInstance()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.