I am actually trying to make an http tunnelezer that casts tcp packets
inside http headers.
So I modified the tunnelfilter example that can be found in the
grizzly samples. So
I have the following filterchain
MyFilter
HttpServerFilter
TransportFilter
the problem is that inside myfilter i want to register a
connectionhandler therefore I must (if i understand correctly) pass
the
TrasportFilter context inside the connectionhandler that means the
next previous filter from the current one (MyFilter).
Unfortunately if I access the filterchaincontext from my filter I get
the context of HttpServerFilter.
Thanks
On Fri, Oct 22, 2010 at 2:03 AM, Oleksiy Stashok
<oleksiy.stashok_at_oracle.com> wrote:
> Hi,
>
> actually MyFilter should be passed the same FilterChainContext instance, as
> TransportFilter, when processing same event on the Connection.
> Can you pls. give us details what you want to achieve, we'll try to help.
>
> Thanks.
>
> WBR,
> Alexey.
>
>
> On Oct 21, 2010, at 22:59 , Fotis Ailianos wrote:
>
>> Hello guys
>>
>> I have a filter chain containing Transport Filter, HttpServerFilter
>> and MyFilter. Is it possible to access the context of TransportFilter
>> from MyFilter?
>> The reason is that I need to access a ConnectionCompletionHandler from
>> TransportFiilter in my MyFilter filter.
>>
>> thank you
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>
>