[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gomd-devel] <LIBRARY>: work started
From: |
Gian Paolo Ghilardi |
Subject: |
[gomd-devel] <LIBRARY>: work started |
Date: |
Sun, 8 Jun 2003 01:12:45 +0200 |
Hi all.
As discussed on #gomd with Mirko (busybee) and Marco (CaloRE), I've just
started working on libgomd.
Sorry Matt: you're the maintainer of libgomd. So you have the power to
annihilate my patches... :)
The idea is the following (to be implemented):
1)A new class ("netCode", my fantasy lacks at the moment) includes a few
functions to interact with gomd
2)openConn(IP, port): tries establishing a conn with a gomd daemon
3)requestInfo(infoToRequestStr): if the conn was established, requests
something to a gomd daemon and wiats for the standard one-line-only answer.
If something goes wrong (i.e.: the socket timeout error occurred) returns an
error message. Otherwise it return the answer from the daemon.
4)closeConn(): closes the conn (if established).
5)Each of these C++ functions calls a specific C function: C++ functions
don't do anything. They call and return values from C-functions placed
outside of class-definition. So C++ functions are only wrappers to C
functions.
This approach allow us to provide a structured-style for C clients and an
OOP-style for C++ clients (without writing two distinct libraries).
Please notice the point #3.
The idea is to make clients' life easier.
Comments?
<rejected>
- [gomd-devel] <LIBRARY>: work started,
Gian Paolo Ghilardi <=
- Re: [gomd-devel] <LIBRARY>: work started, Matthias Rechenburg, 2003/06/08
- [gomd-devel] <LIBRARY>: CVS update done!, Gian Paolo Ghilardi, 2003/06/12
- Re: [gomd-devel] <LIBRARY>: CVS update done!, Mirko Caserta, 2003/06/12
- Re: [gomd-devel] <LIBRARY>: CVS update done!, Matthias Rechenburg, 2003/06/13
- Re: [gomd-devel] <LIBRARY>: CVS update done!, Matthias Rechenburg, 2003/06/13
- Re: [gomd-devel] <LIBRARY>: CVS update done!, CaloRE, 2003/06/15
- [gomd-devel] commoncpp2 problems, Johnny Cache, 2003/06/15
- Re: [gomd-devel] commoncpp2 problems, Johnny Cache, 2003/06/15
- Re: [gomd-devel] commoncpp2 problems -> and fix :), Matthias Rechenburg, 2003/06/24
- Re: [gomd-devel] commoncpp2 problems -> and fix :), Johnny Cache, 2003/06/24