streaming-state-machine
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:This code refers to a blog post I made about using Scala case classes to implement states within a state machine
Twitter Streaming State Machine
-------------------------------

Twitter requires users of the Streaming API to reconnect at most every few minutes. This calls for a state machine to control the actual reconnection. The code in this repository refers to a blog post I made which is available at [Scala Case Classes and State Machines Using Akka Actors][1]

  [1]: http://blog.teksol.info/2012/02/29/scala-case-classes-and-state-machines-using-akka-actors

Running the code
================

    $ mvn compile exec:java -Dexec.mainClass=seevibes.Main

The code in this repository is slightly different from the blog post: the time scale was changed such that developers don't wait minutes before seeing a change. Since this code doesn't connect to Twitter, it doesn't really matter how long we wait before we actually change the keywords.

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。