public class Fetch extends AbstractRawMessage
Modifier and Type | Class and Description |
---|---|
static class |
Fetch.Reply
A reply to a Fetch message.
|
type
Constructor and Description |
---|
Fetch(InputBuffer buf,
Endpoint endpoint,
NodeHandle sender)
Deserialization constructor.
|
Fetch(NodeHandle sender,
Id id,
java.lang.String store,
long onum) |
Modifier and Type | Method and Description |
---|---|
void |
dispatch(Disseminator disseminator)
Handles this message by calling into the given disseminator.
|
int |
getPriority() |
Id |
id()
The random id of this message.
|
long |
onum()
The object number of the requested object.
|
Fetch.Reply |
reply()
The reply message.
|
void |
reply(Fetch.Reply reply)
Sets the reply message.
|
NodeHandle |
sender()
The sender of this message.
|
void |
serialize(OutputBuffer buf) |
java.lang.String |
store()
The store where the requested object resides.
|
java.lang.String |
toString() |
getType
public Fetch(NodeHandle sender, Id id, java.lang.String store, long onum)
public Fetch(InputBuffer buf, Endpoint endpoint, NodeHandle sender) throws java.io.IOException
java.io.IOException
public NodeHandle sender()
public Id id()
public java.lang.String store()
public long onum()
public Fetch.Reply reply()
public void reply(Fetch.Reply reply)
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