Class RemoveServerMessage


  • public class RemoveServerMessage
    extends ServerInfoMessage
    The message sent to remove a server from the meta-server.
    • Constructor Detail

      • RemoveServerMessage

        public RemoveServerMessage​(ServerInfo si)
        Create a new RemoveServerMessage.
        Parameters:
        si - The ServerInfo describing the server to remove.
      • RemoveServerMessage

        public RemoveServerMessage​(Game game,
                                   FreeColXMLReader xr)
                            throws javax.xml.stream.XMLStreamException
        Create a new RemoveServerMessage from a stream.
        Parameters:
        game - The Game, which is null and ignored.
        xr - The FreeColXMLReader to read from.
        Throws:
        javax.xml.stream.XMLStreamException - if there is a problem reading the stream.