Class UpdateServerMessage


  • public class UpdateServerMessage
    extends ServerInfoMessage
    The message sent to update a server in the meta-server.
    • Constructor Detail

      • UpdateServerMessage

        public UpdateServerMessage​(ServerInfo si)
        Create a new UpdateServerMessage.
        Parameters:
        si - The ServerInfo to encapsulate.
      • UpdateServerMessage

        public UpdateServerMessage​(Game game,
                                   FreeColXMLReader xr)
                            throws javax.xml.stream.XMLStreamException
        Create a new UpdateServerMessage 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.