Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Add a method to get the connection mask #5

Closed
elazar opened this issue May 22, 2015 · 3 comments
Closed

Add a method to get the connection mask #5

elazar opened this issue May 22, 2015 · 3 comments

Comments

@elazar
Copy link
Member

elazar commented May 22, 2015

This is currently used in the client and the EventFilter, FeedTicker, and Bridge plugins.

@Renegade334
Copy link
Contributor

NB that it's not used in EventFilter.

Also, it should be expressly stated that the connection mask should not be used as a key by which to store connection-specific data, as it can change during the session. Data keyed by connection should be stored as attached data in an SplObjectStorage instance.

@Renegade334
Copy link
Contributor

On the subject of storing the event queue for each connection, what about creating an EventQueueFactoryAwareInterface? Would replace the need for examples like this.

Edit: phergie/phergie-irc-bot-react#19

@elazar
Copy link
Member Author

elazar commented May 26, 2015

Merged #6.

@elazar elazar closed this as completed May 26, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants