private void sendNextMessageOverNetwork() throws Exception {
  RawData raw=outgoing.take();
  if (raw == null)   throw new NullPointerException();
  sendNext(raw);
}

private void sendNextMessageOverNetwork ( ) throws Exception { RawData raw = outgoing . take ( ) ; if ( raw == null ) throw new NullPointerException ( ) ; sendNext ( raw ) ; }
get the next message from the outgoing queue and send it over the network .
