View Javadoc

1   package cz.cuni.amis.pogamut.base.communication.messages;
2   
3   /**
4    * This is marker class for all info messages that the world is producing.
5    * 
6    * @author Jimmy
7    */
8   public abstract class InfoMessage {
9   	
10  	public String toString() {
11  		return "InfoMessage[" + getClass().getSimpleName() + "]";
12  	}
13  	
14  	/**
15  	 * To be refactored into UT2004 where it is used.
16  	 * @return
17  	 */
18  	public String toJsonLiteral() {		
19  		return null;
20  	}
21  
22  }