Comments (2)
Hi @SyCode7, I developed this library as part of a uni project several years ago, so at this point it is not maintained.
For an example of how it all fits together and works have a look at the main
method in OMP4J/src/com/omp4j/omp/Client.java
. It shows connecting to omp
, creating and running a task, and then printing the generated report. Each step is an example of sending and receiving responses to and from omp
.
The com.omp4j.opm.Client
is the entry point into the library.
The execute
method is the lowest level method which sends commands to omp
via the command line. It accepts subclasses of com.omp4j.commands.OMPCommand
.
An com.omp4j.commands.OMPCommand
is little more than an xml document with helper methods. Each of the subclasses creates the necessary xml required to interact with omp
.
The com.omp4j.opm.Client#parseResponse
method converts the response from omp
into an XML document. The resulting document can be passed into the corresponding com.omp4j.responses.OMPResponse
subclasses to extract some useful information. Each of the predefined command methods already parse the omp
xml response into the correct subclass.
I hope my reply does not come too late and is of some assistance to you.
Feel free to submit pull requests for any fixes that may be required.
from omp4j.
I've updated the readme so it contains the above information too.
from omp4j.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from omp4j.