public void reply(HeadersAmp headers,String to,long qid,Object value) throws IOException {
  if (log.isLoggable(Level.FINEST)) {
    log.finest(this + " reply " + value+ "\n  {to:"+ to+ ","+ headers+ "}");
  }
  try {
    JsonWriterImpl jOut=_jOut;
    jOut.init();
    jOut.writeStartArray();
    jOut.write("reply");
    writeHeaders(jOut,headers);
    jOut.write(to);
    jOut.write(qid);
    jOut.write(value);
    jOut.writeEndArray();
    jOut.close();
  }
 catch (  Throwable e) {
    log.log(Level.WARNING,e.toString(),e);
    throw e;
  }
}

public void reply ( HeadersAmp headers , String to , long qid , Object value ) throws IOException { if ( log . isLoggable ( Level . FINEST ) ) { log . finest ( this + " reply " + value + "\n  {to:" + to + "," + headers + "}" ) ; } try { JsonWriterImpl jOut = _jOut ; jOut . init ( ) ; jOut . writeStartArray ( ) ; jOut . write ( "reply" ) ; writeHeaders ( jOut , headers ) ; jOut . write ( to ) ; jOut . write ( qid ) ; jOut . write ( value ) ; jOut . writeEndArray ( ) ; jOut . close ( ) ; } catch ( Throwable e ) { log . log ( Level . WARNING , e . toString ( ) , e ) ; throw e ; } }
sends a message to a given address
