javaee / grizzly

Writing scalable server applications in the Java™ programming language has always been difficult. Before the advent of the Java New I/O API (NIO), thread management issues made it impossible for a server to scale to thousands of users. The Grizzly NIO framework has been designed to help developers to take advantage of the Java™ NIO API.
https://javaee.github.io/grizzly/
Other
221 stars 60 forks source link

Must use a CometContext per channel #347

Closed glassfishrobot closed 14 years ago

glassfishrobot commented 15 years ago

Any channel requested by the users must be represented by a CometContext. Right now we are filtering using a NotificationHandler, and this is not appropriate.

Environment

Operating System: All Platform: All

Affected Versions

[1.9.0]

glassfishrobot commented 15 years ago

Reported by jfarcand@java.net

glassfishrobot commented 15 years ago

jfarcand@java.net said: Fixed. I've refactored the code so this is now much more simpler to follow.

Deleting cometd/src/main/java/com/sun/grizzly/cometd/BayeuxCometHandler.java Deleting cometd/src/main/java/com/sun/grizzly/cometd/BayeuxCometHandlerBase.java Adding cometd/src/main/java/com/sun/grizzly/cometd/BayeuxParser.java Deleting cometd/src/main/java/com/sun/grizzly/cometd/CometdHandler.java Deleting cometd/src/main/java/com/sun/grizzly/cometd/CometdNotificationHandler.java Sending cometd/src/main/java/com/sun/grizzly/cometd/DataHandler.java Sending cometd/src/main/java/com/sun/grizzly/cometd/EventRouterImpl.java Adding cometd/src/main/java/com/sun/grizzly/cometd/VerbDispatcher.java Sending cometd/src/main/java/com/sun/grizzly/cometd/servlet/CometdServlet.java Sending cometd/src/main/java/com/sun/grizzly/cometd/standalone/CometdAdapter.java Transmitting file data ...... Committed revision 1932.

glassfishrobot commented 15 years ago

Was assigned to jfarcand@java.net

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA GRIZZLY-347

glassfishrobot commented 14 years ago

Marked as fixed on Wednesday, December 16th 2009, 6:13:23 pm