|
| |
|
Push ServerPush Server is socket based line feed push application. It listens for socket connections and then allows user to register for message streams. Once a user has registered the application "pushes" updated content to the user. It is very basic and designed as a test to see how many concurrent connections can be pushed to. Getting StartedGo to the demo/pushserver directory that is inside the dist directory. The following scripts can be run to start the server. For Windows execute: demo/pushserver/run.bat For Linux/Mac OS execute: demo/pushserver/run.sh Raindrop will create a very small, lightweight, server running on port 12345. Once the appropriate script has been executed you can telnet into the application and regsiter for a "stream" as follows: telnet localhost 12345Once the connection has been established register by sending: [STREAM NAME]<CR><LF>where [STREAM NAME] is the name of the stream you wish to register for. The following streams are available:
ConfigurationThe raindrop configuration file is available from: dist/demo/pushserver/raindrop.xml The following Handlers are used within the Push server:
|
| |
Copyright © 2007, Ewan Silver
|