on 11/28/2010 1:01 AM
Something that’s new in Akka 1.0-RC1 is the “unhandled”-callback for Actor. This is what it looks like:   /**    * User overridable callback.    *    * Is called when a message isn’t handled by the current behavior of the actor    * by default it throws an UnhandledMessageException    */    def unhandled(msg: Any){      throw new UnhandledMessageException(msg,self)    } Then the current behavior of an actor doesn’t handle a message, we pass that message to the unhandled method, and by default that throw[...]
>> Read the full article on klangism.tumblr.com
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper