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