com.sun.grizzly.cometd
Interface EventRouter
- All Known Implementing Classes:
- EventRouterImpl
public interface EventRouter
From the Spec, an EventRouter is:
The event router is channel based, with rules based on longest-prefix match
dispatching for registered listeners. The "/meta/*" channel is reserved for
communications with the event router itself (including connection setup,
tear-down, and re-connection), and all conformant clients and servers must
implement the following meta-channel verbs:
* handshake
* connect
* reconnect
* disconnect
* status
* subscribe
* unsubscribe
* ping
- Author:
- Jeanfrancois Arcand, TAKAI, Naoto
route
void route(CometdRequest request,
CometdResponse response)
throws IOException
- Route a CometD message.
- Throws:
IOException
Copyright © 2012 Oracle Corporation. All Rights Reserved.