Hi Tigran,
we've commited your patch [1].
Thank you very much!
WBR,
Alexey.
[1] Date: 2010-06-04 08:56:07+0000
New Revision: 4606
Modified:
trunk/code/modules/grizzly/src/main/java/com/sun/grizzly/
TCPSelectorHandler.java
trunk/code/modules/grizzly/src/main/java/com/sun/grizzly/
UDPSelectorHandler.java
Log:
make sure inet and port correspond to real server socket inet and port
patch submitted by Tigran
On Jun 3, 2010, at 23:55 , Tigran Mkrtchyan wrote:
> Me again :)
>
> I think this patch is better as it simply fixes
> existing api without adding a new method.
>
> Thanks,
> Tigran.
>
> On 06/03/2010 10:58 PM, Tigran Mkrtchyan wrote:
>> Hi Alexey,
>>
>> the patch is attached.
>> The other possibility is to resolve interfaces
>> if the SelectorHandle bound to all of them and
>> return a list of SocketAddresses. But probably
>> nobody needs it except myself and I already do
>> it in my code.
>>
>> Let me know if you want me to change patch.
>>
>> Regards,
>> Tigran.
>>
>> On 06/03/2010 09:52 PM, Oleksiy Stashok wrote:
>>> Hi Tigran,
>>>
>>> you mean SocketAddress of the ServerSocket?
>>> Will appreciate if you can submit the patch :)
>>>
>>> WBR,
>>> Alexey.
>>>
>>> On Jun 3, 2010, at 19:59 , Tigran Mkrtchyan wrote:
>>>
>>>>
>>>> Hi,
>>>>
>>>> Is there a reason why SelectorHandler/TCPSelectorHandler do not
>>>> gave
>>>> something like
>>>> getSocketAddress()? If just nobody needed it up to now I am happy
>>>> to
>>>> submit a patch.
>>>>
>>>> Regards,
>>>> Tigran.
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
> <fix-inet-
> address
> .patch
> >---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net