public abstract class AbstractUpdate<UpdateType extends FastSerializable> extends AbstractRawMessage
Modifier and Type | Class and Description |
---|---|
static class |
AbstractUpdate.Reply
A reply to an update message.
|
type
Constructor and Description |
---|
AbstractUpdate(RawMessageType messageType,
InputBuffer buf,
Endpoint endpoint,
NodeHandle sender)
Deserialization constructor.
|
AbstractUpdate(RawMessageType messageType,
NodeHandle sender,
Id id,
java.lang.String store,
long onum,
AbstractGlob<UpdateType> update) |
Modifier and Type | Method and Description |
---|---|
void |
dispatch(Disseminator disseminator)
Handles this message by calling into the given disseminator.
|
static <T extends FastSerializable> |
getInstance(NodeHandle sender,
Id id,
java.lang.String store,
long onum,
AbstractGlob<T> update) |
int |
getPriority() |
Id |
id()
The random id of this message.
|
long |
onum()
The object number of the updated object.
|
NodeHandle |
sender()
The sender of this message.
|
void |
serialize(OutputBuffer buf) |
java.lang.String |
store()
The store where the updated object resides.
|
java.lang.String |
toString() |
AbstractGlob<UpdateType> |
update()
The updated glob.
|
getType
public AbstractUpdate(RawMessageType messageType, NodeHandle sender, Id id, java.lang.String store, long onum, AbstractGlob<UpdateType> update)
public AbstractUpdate(RawMessageType messageType, InputBuffer buf, Endpoint endpoint, NodeHandle sender) throws java.io.IOException
java.io.IOException
public static <T extends FastSerializable> AbstractUpdate<T> getInstance(NodeHandle sender, Id id, java.lang.String store, long onum, AbstractGlob<T> update)
public NodeHandle sender()
public Id id()
public java.lang.String store()
public long onum()
public AbstractGlob<UpdateType> update()
public int getPriority()
public void dispatch(Disseminator disseminator)
Message
public java.lang.String toString()
toString
in class java.lang.Object
public void serialize(OutputBuffer buf) throws java.io.IOException
java.io.IOException