private byte[] firstToken() throws IOException {
  negotiator=null;
  if (cache != null) {
synchronized (cache) {
      negotiator=cache.get(getHost());
      if (negotiator != null) {
        cache.remove(getHost());
      }
    }
  }
  if (negotiator == null) {
    negotiator=Negotiator.getNegotiator(hci);
    if (negotiator == null) {
      IOException ioe=new IOException("Cannot initialize Negotiator");
      throw ioe;
    }
  }
  return negotiator.firstToken();
}

private byte [ ] firstToken ( ) throws IOException { negotiator = null ; if ( cache != null ) { synchronized ( cache ) { negotiator = cache . get ( getHost ( ) ) ; if ( negotiator != null ) { cache . remove ( getHost ( ) ) ; } } } if ( negotiator == null ) { negotiator = Negotiator . getNegotiator ( hci ) ; if ( negotiator == null ) { IOException ioe = new IOException ( "Cannot initialize Negotiator" ) ; throw ioe ; } } return negotiator . firstToken ( ) ; }
return the first token .
