コード例 #1
0
  public void handle() throws IOException {
    // System.err.println("GrizzlyEndPoint.handle "+this);

    try {
      // System.err.println("handle  "+this);
      _connection.handle();
    } finally {
      // System.err.println("handled "+this);
      Continuation continuation = _connection.getRequest().getContinuation();
      if (continuation != null && continuation.isPending()) {
        // We have a continuation
        // TODO something!
      } else {
        // something else... normally re-enable this connection is the selectset with the latest
        // interested ops
      }
    }
  }