jfreerails.network
Class SaveGameMessage2Server

java.lang.Object
  extended by jfreerails.network.SaveGameMessage2Server
All Implemented Interfaces:
java.io.Serializable, Message2Server, FreerailsSerializable

public class SaveGameMessage2Server
extends java.lang.Object
implements Message2Server

A request to save the game.

Author:
Luke
See Also:
Serialized Form

Field Summary
private  java.lang.String filename
           
private  int id
           
private static long serialVersionUID
           
 
Constructor Summary
SaveGameMessage2Server(int id, java.lang.String s)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 MessageStatus execute(ServerControlInterface server)
           
 int getID()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

id

private final int id

filename

private final java.lang.String filename
Constructor Detail

SaveGameMessage2Server

public SaveGameMessage2Server(int id,
                              java.lang.String s)
Method Detail

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getID

public int getID()
Specified by:
getID in interface Message2Server

execute

public MessageStatus execute(ServerControlInterface server)
Specified by:
execute in interface Message2Server