3 import java.io.Serializable;
6 * Class which contains the Object of the message (integer, double, tabular...)
7 * and the tag associated to this message.
8 * @author Sébastien Miquée
11 public abstract class Message implements Serializable
16 private static final long serialVersionUID = 1L;
20 protected short sender ;
22 protected short type ;
29 * Return the tag of the message.
30 * @return the tag of the message
32 public int getTag() { return tag ; }
34 public int getSender() { return sender ; }
36 public int getType() { return type ; }
39 /** La programmation est un art, respectons ceux qui la pratiquent !! **/