hey guys
apologies for all the questions, hope you don't mind (can you tell i'm english? ) really appreciate the help!
anyway: scenario:
1. dave opens a session
2. dave invites bill
3. bill comes in
4. bill is drunk & abusive so dave runs his goddam @$$ outta the room UserManager.removeUser(billsUserID);
5. over on bills machine there are listeners listening to SessionEvent.SYNCHRONIZATION_CHANGE, ConnectSessionEvent.CLOSE, SessionEvent.ERROR, Event.ACTIVATE & Event.DEACTIVATE
6. but only the SessionEvent.SYNCHRONIZATION_CHANGE listener is run
7. the SessionEvent.userDescriptor prop is null
i was expecting / hoping that this SessionEvent.userDescriptor would have a valid UserDescriptor that would be Bills so i could go "Uh, Bill, it's YOU Dave has kicked out, so we'd better end ur local session and remove ur pods etc mate". but no cigar, boo!
am i listening to the right thing? or... what do i need to do over on Bill machine to pick up the fact that Bill has been kicked out?
Solved! Go to Solution.
Views
Replies
Total Likes
Hey Dubya,
UserManager.UserBooted should do the trick. Only the user kicked out should receive it.
nigel
Views
Replies
Total Likes
Hey Dubya,
UserManager.UserBooted should do the trick. Only the user kicked out should receive it.
nigel
Views
Replies
Total Likes
nigel, that has totally sorted it. that user has been so forcibly removed from the room he's scared of ever coming back again. RESULT !
thanks mate
Views
Replies
Total Likes