Skip to content

Commit

Permalink
Update the README for rlo_08 usage
Browse files Browse the repository at this point in the history
  • Loading branch information
spidermanja committed Aug 15, 2022
1 parent c8f63b1 commit b584fdc
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,21 +161,24 @@ async.waterfall(
}
}
);

```

### Usage of our RLP_02 RelpConnection with RLO_08 component
```JavaScript

/*
* Note: This is ONLY shown the part of necessary code snippets.
* In this demo, we use Relp Logging Out component generates the Syslog message,
* then using RLP_02 lib to setup the connection to our Java-Relp-Server-Demo
* application. Thus when
* then using RLP_02 component to setup the connection to our Java-Relp-Server-Demo
* application.
*/
let relpConnection;
const host = 'localhost';
const port = 1601;

/*
* Setup the relp connection to the Java-Relp-Demo application
* which in this usecase configure to running on port 1601
* which in this use case configure to running on port 1601
*/
async function setupConnection(port, host){
return new Promise(async (resolve, reject) => {
Expand Down

0 comments on commit b584fdc

Please sign in to comment.