From: Tripp, B. <Bry...@uh...> - 2004-03-25 15:07:26
|
Hi Sam, That information is on the Connection objects that are created by HL7Services, but you can't get there from an Application, so getting at that information may not be straightforward. If you just want to log these addresses as connections are made, you could decorate HL7Service.newConnection() to do this. If you need this information for each message, there is a way to you could decorate Parser to do this, but it would take a little explaining (let me know if you are interested). Also, I don't know what you are using this for, but is it possible that MSH-3 could give you what you need instead? If anyone else is reading this and needs the same functionality, please let me know. If it's a common need it then I'll look into making it easier to do. Regards, Bryan > -----Original Message----- > From: Samanth [mailto:sam...@az...] > Sent: March 24, 2004 5:24 AM > To: hl7...@li... > Subject: [HAPI-devel] origin of message? > > > hello, > > am quite new to hapi. i just wanted to know is there a way to > know where > the message originated from? i.e., ip address or port number > etc? if so, > where can i look for this info? > > regards > sam > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Hl7api-devel mailing list > Hl7...@li... > https://lists.sourceforge.net/lists/listinfo/hl7api-devel > This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient. Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and delete all copies. Opinions, conclusions or other information contained in this e-mail may not be that of the organization. |