Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Events #4

Merged
merged 16 commits into from
Aug 27, 2017
Merged

Events #4

merged 16 commits into from
Aug 27, 2017

Conversation

tabone
Copy link
Member

@tabone tabone commented Aug 27, 2017

Enhance TCP Emitter server so that it emits the following events:

Name Description
subscribe Event emitted when a TCP Emitter client subscribes to a TCP Emitter event. The listeners of this event are invoked with the TCP Emitter client & event name. Note when a TCP Emitter client requests to subscribe to an event that it is already subscribed to, this event is not emitted.
unsubscribe Event emitted when a TCP Emitter client unsubscribes to a TCP Emitter event. The listeners of this event are invoked with the TCP Emitter client & event name. Note when a TCP Emitter client requests to unsubscribe from an event that it is not subscribed to, this event is not emitted.
broadcast Event emitted when a TCP Emitter client broadcasts to a TCP Emitter event. The listeners of this event are invoked with the TCP Emitter client, event name & broadcast arguments.

@tabone tabone self-assigned this Aug 27, 2017
@tabone tabone merged commit 8531d5b into master Aug 27, 2017
@tabone tabone deleted the events branch August 27, 2017 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant