uklance / tapestry-cometd

A push library for Tapestry5 based on CometD
17 stars 3 forks source link

Create a Topic object #34

Closed uklance closed 12 years ago

uklance commented 12 years ago

Instead of storing topic as a string, it should be stored as a proper immutable object (complete with hashCode() and equals()).

It should store a String[] of all matching patterns to lookup channels

eg: for "/chat/cars" is should store

uklance commented 12 years ago

I don't think I'll implement this. On consideration, it saves us nothing. The string array is only needed when messages are broadcast and this will be required either way.