<commit_before>gwt-rf-queue
============

How to use
----------
Inherit the module in your gwt.xml file:
```xml
<inherits name='uk.ac.diamond.gwt.rf.queue.GwtRfQueue' />
```

Wire up the manager on the client:

```java
  RequestFactory requestFactory = ...
  QosRequestTransport transport = new QosRequestTransport();
  QosManager manager = new QosManager();
  QosQueue root = new QosQueue();
  root.setTarget(manager);
  manager.start();
  
  transport.setDefaultSource(root);
  requestFactory.initialize(eventBus, transport);
```

* Reference the decorated servlet in your web.xml file:

```xml
    <servlet>
        <servlet-name>requestFactoryServlet</servlet-name><commit_msg>Number the steps to get started<commit_after>gwt-rf-queue
============

How to use
----------
1) Inherit the module in your gwt.xml file:
```xml
<inherits name='uk.ac.diamond.gwt.rf.queue.GwtRfQueue' />
```

2) Wire up the manager on the client:

```java
  RequestFactory requestFactory = ...
  QosRequestTransport transport = new QosRequestTransport();
  QosManager manager = new QosManager();
  QosQueue root = new QosQueue();
  root.setTarget(manager);
  manager.start();
  
  transport.setDefaultSource(root);
  requestFactory.initialize(eventBus, transport);
```

3) Reference the decorated servlet in your web.xml file:

```xml
    <servlet>
        <servlet-name>requestFactoryServlet</servlet-name>
{'fraction_non_alphanumeric': 0.14852198990627252, 'fraction_numerical': 0.0021629416005767843, 'mean_word_length': 4.2180451127819545, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3537173', 'n_tokens_mistral': 441, 'n_tokens_neox': 425, 'n_words': 111}