Handling upstream and timer events

Sergey S sergey.saleev at gmail.com
Fri Oct 2 10:05:53 EDT 2009


Hi Mike,

I'm making real-time game, business layer deals with tracking game object's
coordinates and collisions.
It looks like all I need is ExecutionHandler in the pipeline.


2009/9/30 Mike McGrady (via Nabble)
<ml-user+56678-1706615560 at n2.nabble.com<ml-user%2B56678-1706615560 at n2.nabble.com>
>

> If you can do it, I personally always prefer your second (2)
> alternative.  However, you do not supply enough information to really
> tell what is involved.  We know that you have incoming message events
> from clients and events from a timer.  What their relationship is has
> not been specified.  Knowing that is critical to crafting any solution.
>
> Could you let us know the relationship?
>
> MG
>
> On Sep 30, 2009, at 4:37 AM, Sergey S wrote:
>
> >
> > Hallo,
> >
> > I'm trying to put together upstream handling and timer events. My
> > application logic depends on incoming messages from client and on
> > events
> > from timer same time, so I need to make some kind of synchronization
> > for
> > business methods.
> > I'm thinking about several solutions:
> > 1) use a synchronized methods (blocks) in the business layer;
> > 2) use a queue for channel events and timer events and process it in a
> > dedicated execution thread;
> >
> > May be someone has relevant experience, what's best approach?
> >
> > Thank you.
> > --
> > View this message in context:
> http://n2.nabble.com/Handling-upstream-and-timer-events-tp3742128p3742128.html
> > Sent from the Netty User Group mailing list archive at Nabble.com.
> > _______________________________________________
> > netty-users mailing list
> > [hidden email]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3743430&i=0>
> > https://lists.jboss.org/mailman/listinfo/netty-users
>
> Mike McGrady
> Principal Investigator AF081-028 AFRL SBIR
> Senior Engineer
> Topia Technology, Inc
> 1.253.720.3365
> [hidden email]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3743430&i=1>
>
>
>
>
>
>
>
> _______________________________________________
> netty-users mailing list
> [hidden email]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3743430&i=2>
> https://lists.jboss.org/mailman/listinfo/netty-users
>
>
> ------------------------------
> View message @
> http://n2.nabble.com/Handling-upstream-and-timer-events-tp3742128p3743430.html
> To unsubscribe from Handling upstream and timer events, click here< (link removed) >.
>
>
>

-- 
View this message in context: http://n2.nabble.com/Handling-upstream-and-timer-events-tp3742128p3755572.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list