public void addReconnectCommand ( String teamName , int num ) { StringBuilder buf = new StringBuilder ( ) ; buf . append ( "(reconnect " ) ; buf . append ( teamName ) ; buf . append ( ' ' ) ; buf . append ( num ) ; buf . append ( ' ' ) ; fifo . add ( fifo . size ( ) , buf . toString ( ) ) ; }
This is used to reconnect the player to the server .