Jon Allen wrote:

I'm looking for a bit of input... right now I have a corba application
that takes input from multiple "vendors"... I dont know what else to call
them... multiple types of servers implemented by different people. We all
have the same idl, but some of the parameters are different... when my
application fails I need some way to look at what was sent, so I wrote a
libpcap piece and have it ready to send data to a new orb (something on
the same network as our client, looking at the same data that it is
recieving, but not interacting), so thats where I'm at now. Here's the
problem that I'm looking for a work around for... I want to initialize an
orb, but I dont want it to look at the ior portion, or send any data back.
I could implement the iiop protocol again and the idl methods... but that
doesnt sound like fun (actually it does, but I dont have time). I've been
poking around the javadocumentation, but I was going to ask around a bit
first.
If I understand well, you're interested in building some fake client, just analyzing what's being sent back to your real client.

This could be done in Jonathan, but it is not completely straightforward. You will have to :

  • make your fake client listen on a socket where the reply data will be sent ;
  • patch a little bit GIOPProtocol so that the request number is ignored, and all data sent to a waiting stub ;
  • add lots of trace instructions to get the appropriate information.
It's certainly easier than re-developping completely the IIOP protocol, but it is not so easy to do if you're not familiar with the internals of Jonathan.

Best regards,

Bruno

begin:vcard 
n:Dumant;Bruno 
tel;cell:06 75 20 76 64
tel;fax:33 4 37 49 63 91
tel;work:33 4 37 49 63 94
x-mozilla-html:FALSE
url:www.kelua.com
org:Kelua
adr:;;9 chemin de la Brocardi�re;Dardilly;;69570;France
version:2.1
email;internet:[EMAIL PROTECTED]
x-mozilla-cpt:;1
fn:Bruno Dumant
end:vcard

Reply via email to