org.gscg.common.interactionlayer.dataobjects
Class NewsMessage

java.lang.Object
  extended byorg.gscg.common.interactionlayer.dataobjects.NewsMessage
All Implemented Interfaces:
java.io.Serializable

public class NewsMessage
extends java.lang.Object
implements java.io.Serializable

A news messsage is sent by a game leader to players in a game.

Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl . The source code and binary code of this software is proprietary information of Delft University of Technology.

Since:
1.0.0
Version:
$Revision: 1.1 $ $Date: 2005/06/16 12:33:58 $
Author:
Stijn-Pieter van Houten
See Also:
Serialized Form

Constructor Summary
NewsMessage(java.lang.String senderName, java.lang.String content)
          constructs a new NewsMessage
 
Method Summary
 java.lang.String getContent()
          Method getContent.
 java.lang.String getSenderName()
          Method getSenderName.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewsMessage

public NewsMessage(java.lang.String senderName,
                   java.lang.String content)
constructs a new NewsMessage

Parameters:
senderName - the name of the sender
content - the content of the message
Method Detail

getContent

public java.lang.String getContent()
Method getContent.

Returns:
returns the content of the message

getSenderName

public java.lang.String getSenderName()
Method getSenderName.

Returns:
returns the name of the sender.


Copyright © 2002-2005 Delft University of Technology, the Netherlands. All Rights Reserved.