apps.twentyfourpoint.message
Class ResultMessage

java.lang.Object
  extended by synergynetframework.appsystem.services.net.tablecomms.messages.TableMessage
      extended by synergynetframework.appsystem.services.net.tablecomms.messages.application.ApplicationMessage
          extended by synergynetframework.appsystem.services.net.tablecomms.messages.application.BroadcastApplicationMessage
              extended by apps.twentyfourpoint.message.ResultMessage
All Implemented Interfaces:
java.io.Serializable, Message

public class ResultMessage
extends BroadcastApplicationMessage

The Class ResultMessage.

See Also:
Serialized Form

Constructor Summary
ResultMessage(boolean win, java.lang.String resultString)
          Instantiates a new result message.
 
Method Summary
 java.lang.String getResultString()
          Gets the result string.
 boolean isWin()
          Checks if is win.
 void setResultString(java.lang.String resultString)
          Sets the result string.
 void setWin(boolean win)
          Sets the win.
 java.lang.String toString()
           
 
Methods inherited from class synergynetframework.appsystem.services.net.tablecomms.messages.application.ApplicationMessage
getTargetClassName, setTargetClassName
 
Methods inherited from class synergynetframework.appsystem.services.net.tablecomms.messages.TableMessage
getSender
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResultMessage

public ResultMessage(boolean win,
                     java.lang.String resultString)
Instantiates a new result message.

Parameters:
win - the win
resultString - the result string
Method Detail

getResultString

public java.lang.String getResultString()
Gets the result string.

Returns:
the result string

isWin

public boolean isWin()
Checks if is win.

Returns:
true, if is win

setResultString

public void setResultString(java.lang.String resultString)
Sets the result string.

Parameters:
resultString - the new result string

setWin

public void setWin(boolean win)
Sets the win.

Parameters:
win - the new win

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object