jfreerails.network
Class RefreshListOfGamesMessage2Server

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

public class RefreshListOfGamesMessage2Server
extends java.lang.Object
implements Message2Server

Tells the server to check the filesystem for changes to the available new maps and saved games.

Author:
Luke
See Also:
Serialized Form

Field Summary
private  int id
           
private static long serialVersionUID
           
 
Constructor Summary
RefreshListOfGamesMessage2Server(int id)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 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
Constructor Detail

RefreshListOfGamesMessage2Server

public RefreshListOfGamesMessage2Server(int id)
Method Detail

execute

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

getID

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

hashCode

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

equals

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