org.cougaar.pizza.relay
Class RSVPReply

java.lang.Object
  extended byorg.cougaar.pizza.relay.RSVPReply
All Implemented Interfaces:
java.io.Serializable

public class RSVPReply
extends java.lang.Object
implements java.io.Serializable

The RSVP reply - just the friend's name, and their pizza preference. It must implement Serializable so it can be sent between Agents.

See Also:
Serialized Form

Constructor Summary
RSVPReply(java.lang.String friend, java.lang.String pizzaPreference)
           
 
Method Summary
 java.lang.String getFriend()
           
 java.lang.String getPizzaPreference()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RSVPReply

public RSVPReply(java.lang.String friend,
                 java.lang.String pizzaPreference)
Method Detail

getFriend

public java.lang.String getFriend()

getPizzaPreference

public java.lang.String getPizzaPreference()

toString

public java.lang.String toString()