transport.protocol
Class Sim2PMessage

java.lang.Object
  |
  +--transport.protocol.Message
        |
        +--transport.protocol.Sim2PMessage
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
NMEAMessage

public abstract class Sim2PMessage
extends Message
implements java.io.Serializable

This class defines the basic structure for a message used to send data between agents in the simulation.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class transport.protocol.Message
 
Constructor Summary
Sim2PMessage(int to, int from)
          This constructor initializes the Message.
 
Methods inherited from class transport.protocol.Message
getFrom, getTo, setTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sim2PMessage

public Sim2PMessage(int to,
                    int from)
This constructor initializes the Message.