Re: [HAPI-devel] Hl7api-devel Digest, Vol 68, Issue 1

2012-03-05 Thread Ram
Hi, Thanks for the response. The think is i need to find the port in the MyApplication. Is there any way? Thanks Ram On 03/05/2012 10:25 PM, [email protected] wrote: > Send Hl7api-devel mailing list submissions to > [email protected] > > To subs

Re: [HAPI-devel] How to get the Port of the current connection

2012-03-05 Thread LDH
Sorry but i am not sure i understand your message clearly. If you are talking about creating a listener and ingesting messages, this is the kind of code i have. When your application starts, you have to create a listener on a port. int PORT= 12345; // Generally through some configuratio

[HAPI-devel] How to get the Port of the current connection

2012-03-05 Thread Ram
Hi All, I did created a MyApplication which implements Application interface. Then i had a situation to get the port of the connection which received the message. So I implemented the ConnectionListener interface. When trying to implement the connectionReceived() method, i could able to find