Commit graph

2748 commits

Author SHA1 Message Date
Viktor Klang
d60694a4ae Fixing ticket #614 2011-01-18 17:48:34 +01:00
Viktor Klang
7c99f8829a Switching to Peters cleaner solution 2011-01-17 11:44:07 +01:00
Viktor Klang
47fb6a4421 Allowing forwards where no sender of the message can be found. 2011-01-17 11:30:13 +01:00
Jonas Bonér
ea5648e8e3 Added test for failing TypedActor with method 'String hello(String s)' 2011-01-11 11:23:09 +01:00
Jonas Bonér
139a064110 Fixed some TypedActor tests 2011-01-11 11:16:31 +01:00
Viktor Klang
89928146f7 Fixing ticket #608 2011-01-08 19:52:22 +01:00
Peter Vlugter
ae85bd0a8f Update dependencies in sbt plugin 2011-01-08 13:48:00 +13:00
Viktor Klang
8a439a8268 Making optimizeLocal public 2011-01-05 17:30:56 +01:00
Viktor Klang
afdc437bed Adding more start methods for RemoteSupport because of Java, and added BeanProperty on some events 2011-01-05 17:03:40 +01:00
Viktor Klang
6360cd19a5 Minor code cleanup and deprecations etc 2011-01-05 16:36:50 +01:00
Jonas Bonér
b0a64caaec Changed URI to akka.io 2011-01-05 05:32:59 -08:00
Viktor Klang
d6a5b4d69d Fixing ticket #603 2011-01-05 11:43:49 +01:00
Viktor Klang
4d3a027c29 Merge branch 'remote_deluxe' 2011-01-04 15:25:27 +01:00
Viktor Klang
c71fcb4695 Minor typed actor lookup cleanup 2011-01-04 15:23:33 +01:00
Roland Kuhn
91c2289311 Merge branch 'testkit' 2011-01-04 13:51:39 +01:00
Roland Kuhn
da65c1382c fix up indentation 2011-01-04 13:50:50 +01:00
Viktor Klang
e17b4f4f52 Removing ActorRegistry object, UntypedActor object, introducing akka.actor.Actors for the Java API 2011-01-04 13:24:28 +01:00
momania
49b45afdd2 Merge branch 'testkit' of git-proxy:jboner/akka into testkit
Conflicts:
	akka-actor/src/test/scala/akka/actor/actor/FSMTimingSpec.scala
2011-01-04 09:41:47 +01:00
momania
d46a979057 small adjustment to the example, showing the correct use of the startWith and initialize 2011-01-04 09:32:13 +01:00
Roland Kuhn
c2402e39cd also test custom whenUnhandled fall-through 2011-01-03 23:06:28 +01:00
Roland Kuhn
d5fc6f8ebd merge Irmo's changes and add test case for whenUnhandled 2011-01-03 21:01:11 +01:00
Roland Kuhn
5092eb0cf4 remove one more allocation in hot path 2011-01-03 20:04:02 +01:00
momania
e5c9e77613 wrap initial sending of state to transition listener in CurrentState object with fsm actor ref 2011-01-03 20:02:03 +01:00
momania
a4ddcd98d0 add fsm self actor ref to external transition message 2011-01-03 19:50:53 +01:00
momania
aee972f5c7 Move handleEvent var declaration _after_ handleEventDefault val declaration. Using a val before defining it causes nullpointer exceptions... 2011-01-03 19:37:23 +01:00
Roland Kuhn
9dbfad331f change indentation to 2 spaces 2011-01-03 18:50:42 +01:00
Viktor Klang
accbfd0192 Merge with master 2011-01-03 15:03:45 +01:00
Viktor Klang
9d2347e3da Adding support for non-delivery notifications on server-side as well + more code cleanup 2011-01-03 14:44:15 +01:00
Viktor Klang
504b0e9b63 Major code clanup, switched from nested ifs to match statements etc 2011-01-03 13:49:39 +01:00
Viktor Klang
5af6b4db68 Putting the Netty-stuff in akka.remote.netty and disposing of RemoteClient and RemoteServer 2011-01-03 12:42:30 +01:00
momania
31da5b9947 Removed generic typed classes that are only used in the FSM itself from the companion object and put back in the typed FSM again so they will take same types. 2011-01-03 12:03:38 +01:00
momania
d09adeacf8 fix tests 2011-01-03 11:40:04 +01:00
momania
5ee0cab409 - make transition handler a function taking old and new state avoiding the default use of the transition class
- only create transition class when transition listeners are subscribed
2011-01-03 11:35:27 +01:00
Viktor Klang
fd831bbcbf Removing PassiveRemoteClient because of architectural problems 2011-01-03 11:25:27 +01:00
momania
d9b3e42af6 stop the timers (if any) while terminating 2011-01-03 11:12:40 +01:00
Viktor Klang
25f33d5bdc Added lock downgrades and fixed unlocking ordering 2011-01-01 23:18:51 +01:00
Viktor Klang
3c7d96fbf3 Minor code cleanup 2011-01-01 22:20:43 +01:00
Roland Kuhn
61502794de convert test to WordSpec with MustMatchers 2011-01-01 21:15:10 +01:00
Roland Kuhn
f4d87fa726 fix fallout of Duration changes in STM tests
- document change in Java API
2011-01-01 21:12:12 +01:00
Viktor Klang
3d502a5226 Added support for passive connections in Netty remoting, closing ticket #507 2011-01-01 21:01:44 +01:00
Roland Kuhn
b0db21f974 make TestKit assertions nicer / improve Duration 2010-12-31 17:57:08 +01:00
Roland Kuhn
eddbac5478 remove unnecessary allocations in hot paths 2010-12-31 15:53:32 +01:00
Roland Kuhn
6f0d73b789 flesh out FSMTimingSpec
- add expectNoMsg and receiveWhile to TestKit
- add Ev(...) convenience extractor for FSM.Event
- switch to System.nanoTime for TestKit
2010-12-30 22:43:24 +01:00
Viktor Klang
f1f8d64e3c Adding support for failed messages to be notified to listeners, this closes ticket #587 2010-12-30 14:59:00 +01:00
Viktor Klang
f45a86bd97 Adding possibility to set id for TypedActor 2010-12-30 13:23:09 +01:00
Roland Kuhn
7e729ce3d2 add first usage of TestKit
- rename expect... methods to expectMsg... to avoid clash with scalatest
- add access to testActor, e.g. for registration of that actor with
	others
- add facility for ignoring messages in testActor, which would only
	clutter the test spec
2010-12-29 21:47:05 +01:00
Viktor Klang
3da0669233 Removed if statement because it looked ugly 2010-12-29 18:22:36 +01:00
Viktor Klang
326a93993c Fixing #586 and #588 and adding support for reconnect and shutdown of individual clients 2010-12-29 17:59:38 +01:00
Viktor Klang
3f737f9d90 Minor refactoring to ActorRegistry 2010-12-29 16:44:13 +01:00
Viktor Klang
9b52e8225d Moving shared remote classes into RemoteInterface 2010-12-29 16:08:43 +01:00