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

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

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

Version:
$Revision: 1.3 $

Field Summary
private  int currentStation
           
 
Fields inherited from class de.upb.swtpra.kernel.message.ShuttleToShuttleMessage
 
Fields inherited from class de.upb.swtpra.kernel.message.Message
ALLSHUTTLES
 
Constructor Summary
PositionMessage(de.upb.swtpra.kernel.id.ID senderID, de.upb.swtpra.kernel.id.ID receiverID, int Station)
           
 
Method Summary
 int getCurrentStation()
           
 
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

currentStation

private int currentStation
Constructor Detail

PositionMessage

public PositionMessage(de.upb.swtpra.kernel.id.ID senderID,
                       de.upb.swtpra.kernel.id.ID receiverID,
                       int Station)
Parameters:
senderID -
receiverID -
Station -
Method Detail

getCurrentStation

public int getCurrentStation()
Returns:
Returns the currentStation.