private void sendValidatedMessage ( ) { final String msg = message . toString ( ) ; if ( canSendMessage ( msg ) ) { addNetworkMessage ( new NetworkMessageChat ( type , getClientId ( ) . byteValue ( ) , msg ) ) ; } message . delete ( 0 , message . length ( ) ) ; }
Send validated message .