dev@grizzly.java.net

Re: port range functionality

From: Survivant 00 <survivant00_at_gmail.com>
Date: Fri, 4 Sep 2009 13:57:56 -0400

nice feature.



2009/9/4 Jeanfrancois Arcand <Jeanfrancois.Arcand_at_sun.com>

> Salut, patch applied! Will be in 1.9.19.
>
> Thanks!!!
>
> -- Jeanfrancois
>
> Tigran Mkrtchyan wrote:
>
>> Hi Jeanfrancois,
>>
>> I have made some change for grizzly-nio-framework-1.9.17
>> to support port ranges. The code is backward compatible.
>> I have checked it with TCP and it works for me :).
>>
>> To use it:
>>
>> ...
>> final TCPSelectorHandler tcp_handler = new TCPSelectorHandler();
>> tcp_handler.setPortRange(new PortRange(2000, 3000));
>> ...
>>
>>
>> Patch is attached.
>> Regards,
>> Tigran.
>>
>> On 07/15/2009 04:42 PM, Jeanfrancois Arcand wrote:
>>
>>> Salut,
>>>
>>> Mkrtchyan, Tigran wrote:
>>>
>>>> Hi Jeanfrancois,
>>>>
>>>> Finally we got Grizzly to work with out staff.
>>>> I have written an ONC-RPC protocol filter (will submit to grizzly
>>>> users list as soon as it a shape that other can use it as well) and
>>>> implemented a NFSv4.1 server based on it.
>>>>
>>>
>>> This is great!
>>>
>>> For
>>>
>>>> final step I miss a small functionality: binding
>>>> to a port range. We have implemented it for
>>>> our internal socket handling. Unfortunately, grizzly-nio
>>>> do not have something like that I have looked to
>>>> TCPSelectorHandler.java, but no way to get expected
>>>> functionality by extending it.
>>>>
>>>> To make long story short. We have our implementation
>>>> and we absolutely happy if you will integrate it or
>>>> modification of if into Grizzly-nio.
>>>>
>>>
>>>
>>
>> ------------------------------------------------------------------------
>>
>> ---------------------------------------------------------------------
>> 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
>
>


-- 
Vous pouvez me suivre sur Twitter / You can follow me on Twitter :
http://twitter.com/survivant