src/main/java/pityoulish/sockets/client/MsgBoardClientHandlerImpl.java
protected void fireRequest(ByteBuffer request)
    throws Exception
  {
    Socket sock = socketBackend.connect(false);
    ByteBuffer response = null;
    try {
      sendRequest(sock, request);
      response = readResponse(sock);
    } finally {
      // single request only, no keep-alive
      sock.close();
    }

    rspParser.parse(response, rspVisitor);
  }
/**
   * Sends a request and processes the response, with blocking IO.
   *
   * @param request     the request data to send
   *
   * @throws Exception   in case of a problem
   */
Sends a request and processes the response, with blocking IO.
@param request     the request data to send

@throws Exception   in case of a problem
Sends a request and processes the response with blocking IO . @param request the request data to send @throws Exception in case of a problem
protected void fireRequest(ByteBuffer request)
    throws Exception
  {
    Socket sock = socketBackend.connect(false);
    ByteBuffer response = null;
    try {
      sendRequest(sock, request);
      response = readResponse(sock);
    } finally {
      sock.close();
    }
    rspParser.parse(response, rspVisitor);
  }
protected void fireRequest ( ByteBuffer request ) throws Exception { Socket sock = socketBackend . connect ( false ) ; ByteBuffer response = null ; try { sendRequest ( sock , request ) ; response = readResponse ( sock ) ; } finally { sock . close ( ) ; } rspParser . parse ( response , rspVisitor ) ; }
Sends a request and processes the response, with blocking IO.
Sends a request and processes the response with blocking IO .
// single request only, no keep-alive