class NetListening implements JsonRpcMethod {

  @Override
  public JsonRpcResponse response(final JsonRpcRequestContext requestContext) {
    return new JsonRpcSuccessResponse(
        requestContext.getRequest().getId(), p2pNetwork.isListening());
  }

  public  NetListening(final P2PNetwork p2pNetwork);

}