001package cnslab.cnsnetwork; 002import cnslab.cnsmath.*; 003import java.io.Serializable; 004/** 005 * Same as NetMessage, but has some extra information about avalanche 006 * 007 * @author Yi Dong 008 */ 009public class ANetMessage extends NetMessage 010{ 011 012 public ANetMessage(double time, int from, int sourceId, int avalancheId) { 013 super(time,from); 014 this.sourceId=sourceId; 015 this.avalancheId=avalancheId; 016 } 017 public int sourceId; 018 public int avalancheId; 019}