Warlock: Message filters #29
Labels
No labels
bug
confirmed
critical
database
discussion
documentation
email-support
enhancement
feature
suggestion
support
warlock
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: hazaar/hazaar-mvc-old#29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I've come across a bit of a problem with the warlock real-time messaging sub-system in regards to the particular way that I am trying to use it.
The situation is, clients listen for a 'notification'. When a notification is sent a Warlock trigger event is fired off with the content of the notification. The client will then display this notification.
The problem I have is that all clients listen for the same event trigger name "uplink_notification", but in certain circumstances I only want the message to go to certain clients and other clients should ignore it. There could be a work around where notifications are split into types and the client listens for multiple events based on each type they want to see, but this sounds a bit resource intensive and just a bit silly.
To that end, I would like to implement message filters so that messages that contain (or don't contain) certain data can be ignored. This will happen at the server level so that these filtered messages will not cause the usual process and re-listen connection routine.
How I see this working:
Status changed to closed by commit 0e35a9
mentioned in commit
0e35a9fc06