Listening to Channels

I was hoping to make one of my GLOs listener for every message that came in on a channel (so it could validate them). I’d envisaged a way of having two channels per area, one with data that could just be passed between clients without the server caring (chat etc) and one which the server might validate now and again.

So, I have my Arena GLO, I want it to receive every message sent on a particular channel. I wondered if there was going to be a SimChannelDataListener that once registered would cause channel messages to pass through the server before going between clients. I realise I could add a SimUserDataListener to every user and pass messages for a particular channel recieved in these liseteners off to the independent channel GLOs but seems a little cumbersome.

Kev

Nope.

Its seems obvious on first galnce but in fact it doesnt work in the multi-stack loosely coupeled paradigm we have.

The problem is this. Users are local to a stack, so a user listenr registered to a single stack makes sense. If the stack dies the user goes away.

But a channel listener is global, so a channel listern registere d on one satck does not make sense, if the stack dies there still needs to be someone listeneing top it. Thsi gets into all kidsn fo tightly couipeld nastiness in terms of failign over such thinsg that we want o avoid.

As we get mroe experience we’ve talked about a GLO framework that would allow for such things at the GLo level, where all stacks are the same thing,…