de.upb.swtpra05.group03.shuttle.messages
Class YouHaveWonMessage

java.lang.Object
  extended byde.upb.swtpra.kernel.message.Message
      extended byde.upb.swtpra.kernel.message.ShuttleToShuttleMessage
          extended byde.upb.swtpra05.group03.shuttle.messages.YouHaveWonMessage

public class YouHaveWonMessage
extends de.upb.swtpra.kernel.message.ShuttleToShuttleMessage

This message will be sent to a shuttle if the shuttle gets the order.

Version:
$Revision: 1.3 $

Field Summary
private  int orderId
          morderId holds the OrderId.
 
Fields inherited from class de.upb.swtpra.kernel.message.ShuttleToShuttleMessage
 
Fields inherited from class de.upb.swtpra.kernel.message.Message
ALLSHUTTLES
 
Constructor Summary
YouHaveWonMessage(de.upb.swtpra.kernel.id.ID senderID, de.upb.swtpra.kernel.id.ID receiverID, int theOrderId)
          Constructor for YouHaveWonMessage.
 
Method Summary
 int getOrderId()
           
 
Methods inherited from class de.upb.swtpra.kernel.message.ShuttleToShuttleMessage
getMessage
 
Methods inherited from class de.upb.swtpra.kernel.message.Message
getReceiverID, getSenderID, isValid, setReceiverID, setSenderID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

orderId

private int orderId
morderId holds the OrderId.

Constructor Detail

YouHaveWonMessage

public YouHaveWonMessage(de.upb.swtpra.kernel.id.ID senderID,
                         de.upb.swtpra.kernel.id.ID receiverID,
                         int theOrderId)
Constructor for YouHaveWonMessage.

Parameters:
senderID -
receiverID -
theOrderId -
Method Detail

getOrderId

public int getOrderId()
Returns:
Returns the m_OrderId.