anchor.diff:      if (message instanceof HelloMessage) {
         // do something with the message
         HelloMessage helloMessage = (HelloMessage) message;
  -      System.out.println("Server received '" +helloMessage.getSomething() +"' from client #"+source.getId() );
  +      System.out.println("Server received '" +helloMessage.getSomething() +"' from client #"+source.getId());
       } // else....
     }
  +}
   ----
   
   For each message type, register a server listener to the server:
  
positive.code: 
  === Kicking a Client
  
  The server can kick a HostedConnection to make it disconnect. You should provide a String with further info (an explanation to the user what happened, e.g. “Shutting down for maintenance) for the server to send along. This info message can be used (displayed to the user) by a ClientStateListener. (See below)
  
  [source,java]
  ----
  
negative.code: [cols="2", options="header"]
  |===
  
  a| ClientStateListener interface method
  a| Purpose
  
  a| public void clientConnected(Client c){}
  a| Implement here what happens as soon as this client has fully connected to the server.
  
  a| public void clientDisconnected(Client c, DisconnectInfo info){}
  a| Implement here what happens after the server kicks this client. For example, display the DisconnectInfo to the user.
  
  |===
  
  