bamboo.lss
Class Rpc.Msg

java.lang.Object
  extended by ostore.network.NetworkMessage
      extended by bamboo.lss.Rpc.Msg
All Implemented Interfaces:
Cloneable, ostore.util.QuickSerializable, QueueElementIF
Enclosing class:
Rpc

public static class Rpc.Msg
extends ostore.network.NetworkMessage


Field Summary
 ostore.util.QuickSerializable payload
           
 boolean req
           
 long xact_id
           
 
Fields inherited from class ostore.network.NetworkMessage
comp_q, est_rtt_ms, inbound, peer, sender, timeout_sec, user_data, wait_ms
 
Constructor Summary
Rpc.Msg(ostore.util.InputBuffer buffer)
           
Rpc.Msg(ostore.util.NodeId dest, boolean r, long x, ostore.util.QuickSerializable p)
           
 
Method Summary
 Object clone()
           
 void serialize(ostore.util.OutputBuffer buffer)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

req

public boolean req

xact_id

public long xact_id

payload

public ostore.util.QuickSerializable payload
Constructor Detail

Rpc.Msg

public Rpc.Msg(ostore.util.NodeId dest,
               boolean r,
               long x,
               ostore.util.QuickSerializable p)

Rpc.Msg

public Rpc.Msg(ostore.util.InputBuffer buffer)
        throws ostore.util.QSException
Throws:
ostore.util.QSException
Method Detail

serialize

public void serialize(ostore.util.OutputBuffer buffer)
Specified by:
serialize in interface ostore.util.QuickSerializable
Overrides:
serialize in class ostore.network.NetworkMessage

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class ostore.network.NetworkMessage
Throws:
CloneNotSupportedException

toString

public String toString()
Overrides:
toString in class ostore.network.NetworkMessage