demo.helloworld.step1.api
Class HelloWorldRouteMsg

java.lang.Object
  |
  +--dd.api.DDRouteMsg
        |
        +--demo.helloworld.step1.api.HelloWorldRouteMsg
All Implemented Interfaces:
QueueElementIF, QuickSerializable

public class HelloWorldRouteMsg
extends DDRouteMsg

HelloWorldRouteMsg is a msg sent directly to a HelloWorld Client or a HelloWorld Server with a msg and a originalMsgID

Version:
$Id: HelloWorldRouteMsg.java,v 1.2 2004/06/15 20:43:18 hweather Exp $
Author:
Chiu Wah Kelvin So

Field Summary
 String msg
          msg that wants to communicate from one HelloWorldStage to another
 SecureHash originalMsgID
          originalMsgID the original requestor message ID for resender
 
Fields inherited from class dd.api.DDRouteMsg
dd_intermediate_upcall, hopCount, inbound, one_hop, peer, recursive_route, TTL
 
Constructor Summary
HelloWorldRouteMsg(InputBuffer buffer)
          Constructs a HelloWorldRouteMsg from its serialized form.
HelloWorldRouteMsg(SecureHash requestorGuid, SecureHash originalMsgID, String msg)
          Constructor: Creates a new HelloWorldRouteMsg.
 
Method Summary
 void serialize(OutputBuffer buffer)
          Specified by ostore.util.QuickSerializable
 String toString()
          Specified by java.lang.Object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

msg

public String msg
msg that wants to communicate from one HelloWorldStage to another


originalMsgID

public SecureHash originalMsgID
originalMsgID the original requestor message ID for resender

Constructor Detail

HelloWorldRouteMsg

public HelloWorldRouteMsg(SecureHash requestorGuid,
                          SecureHash originalMsgID,
                          String msg)
Constructor: Creates a new HelloWorldRouteMsg.


HelloWorldRouteMsg

public HelloWorldRouteMsg(InputBuffer buffer)
                   throws QSException
Constructs a HelloWorldRouteMsg from its serialized form.

Parameters:
buffer - serialized form of object.
Method Detail

serialize

public void serialize(OutputBuffer buffer)
Specified by ostore.util.QuickSerializable

Specified by:
serialize in interface QuickSerializable
Overrides:
serialize in class DDRouteMsg

toString

public String toString()
Specified by java.lang.Object

Overrides:
toString in class Object