[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.technology.ecf] Simple Client Server Example?
|
- From: Philip Quitslund <pq@xxxxxxxxxx>
- Date: Mon, 03 Nov 2008 14:06:48 -0500
- Newsgroups: eclipse.technology.ecf
- Organization: EclipseCorner
- User-agent: Thunderbird 2.0.0.17 (Windows/20080914)
Hey all,
I've been intrigued by ECF for a while so I was delighted when I found an excuse
to dig in. I poked around in the docs but probably missed the obvious.
(Forgive me for that!) Anyway, I'm looking at implementing a basic client
server protocol to support simple communication between two OSGi/Equinox app
instances. The protocol will be dead simple (essentially just a way to send
remote commands). Is there an example of something like this that I've overlooked?
Here's a sketch of a use case:
* Machine A (the client) wants to send a command to another machine
* Machine A discovers available (server) machines, finding Machine B
* Machine A sends a command request to Machine B
* Machine B receives the command and consumes it
* Machine B responds when it has completed the request
Is there an ECF "Hello World" or test case that approximates something like this?
BTW, if there isn't such a thing (and there's sufficient interest), I'd be happy
to contribute back whatever I get working.
Thanks in advance for any pointers!
-phil