Viktor Klang
7cd1d38eb1
#2130 - Fixing unforunate naming in DiningHakkers
2012-05-25 17:15:59 +02:00
Roland
ec1433c156
code style touch up of FSM.scala
2012-01-24 09:35:00 +01:00
Jonas Bonér
c9b787f029
Removed all 'actorOf' methods that does not take a 'Props', and changed all callers to use 'actorOf(Props(..))'
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-13 14:09:40 +01:00
Patrik Nordwall
bfa14a692c
Merge branch 'master' into wip-1377-context-patriknw
...
Conflicts:
akka-actor/src/main/scala/akka/actor/ActorCell.scala
akka-actor/src/main/scala/akka/actor/ActorRef.scala
akka-actor/src/main/scala/akka/dispatch/AbstractDispatcher.scala
akka-actor/src/main/scala/akka/event/EventStream.scala
akka-tutorials/akka-tutorial-first/src/main/java/akka/tutorial/first/java/Pi.java
akka-tutorials/akka-tutorial-first/src/main/scala/Pi.scala
2011-12-07 07:49:34 +01:00
Patrik Nordwall
3204269f6a
Cleanup of methods in Actor and ActorContext trait. See #1377
...
* Added JavaActorContext, UntypedActor.getContext
* implicit val context in Actor needs to be implicit to support forward,
it would be nice if it wasn't implicit because now I can't override context
in UntypedActor
* Removed implicit def system in Actor
* Removed implicit def defaultTimeout in Actor
* Removed receiveTimeout, children, dispatcher, become, unbecome, watch,
unwatch in Actor
* Removed corresponding as above from UntypedActor
* Removed implicit from dispatcher in ActorSystem
* Removed implicit def timeout in TypedActor
* Changed receiveTimeout to use Duration (in api)
* Changed many tests and samples to match new api
2011-12-06 09:50:16 +01:00
Roland
9d7597c728
Merge branch master into wip-ActorPath-rk
...
Had to make Davy Jones a bit more robust, i.e. put him into a different
system to guarantee survival until all messages are delivered.
2011-12-05 22:46:34 +01:00
Patrik Nordwall
1f665ab4c6
Changed signatures of Scheduler for better api of by-name blocks
2011-12-02 17:13:46 +01:00
Roland
e38cd19af9
Merge branch 'master' into wip-ActorPath-rk
2011-12-02 13:31:48 +01:00
Roland
b65799c7f3
remove ActorRef.address & ActorRef.name
...
- address => path.toString
- name => path.name
- forward hashCode, equals and compareTo to path
- implement recursive efficient ActorPath.compareTo
- fix ActorPath.equals endless recursion
- remove wrong warning in ActorCell.systemInvoke.supervise()
2011-11-30 23:30:56 +01:00
Henrik Engstrom
99e5d88ace
Removed obsolete samples, see #1278
2011-11-30 11:37:42 +01:00
Henrik Engstrom
1b3ee08287
Updated after comments, see #1278
2011-11-29 15:19:58 +01:00
Henrik Engstrom
823a68ac0f
Updated samples and tutorial to Akka 2.0. Added projects to SBT project file. Fixes #1278
2011-11-29 12:31:01 +01:00
Henrik Engstrom
ddb7b578e2
Fixed some typos, see #1291
2011-11-23 16:52:05 +01:00
Henrik Engstrom
7ca5a4161b
Introduced Duration instead of explicit value + time unit in HWT, Scheduler and users of the schedule functionality. See #1291
2011-11-23 11:07:16 +01:00
Roland
d381b72061
rename app: ActorSystem to system everywhere
2011-11-17 12:36:35 +01:00
Roland
648661c548
clean up initialization of ActorSystem, fixes #1050
...
- create ActorSystemImpl trait to make ActorSystem fully abstract
- add Java API for constructing (ActorSystem.create(...))
- only go through factory methods because .start() has become necessary
- rename all user-facing occurrences of “app” to “system” (Actor trait
and TestKit/AkkaSpec)
- pass ActorSystemImpl to ActorRefs upon creation, which means that
actorOf() and friends need such an argument, which must be provided to
the ActorRefProvider by the ActorRefFactory implementation
2011-11-16 17:18:36 +01:00
Roland
945b1aedf9
rename akka.AkkaApplication to akka.actor.ActorSystem
...
Renaming it to System did not appeal after seeing that such a thing is
already imported from Predef ...
2011-11-10 21:00:01 +01:00
Viktor Klang
1b730b5c82
Removing Channel(s), tryTell etc, everything compiles but all tests are semibroken
2011-10-31 16:09:51 +01:00
Viktor Klang
474787a81d
Renaming createActor to actorOf
2011-10-18 17:56:23 +02:00
Viktor Klang
050411bf3b
Making a Java API for Scheduler (JScheduler) and an abstract class Scheduler that extends it, to make the Scheduler pluggable, moving it into AkkaApplication and migrating the code.
2011-10-17 18:35:36 +02:00
Roland
36ec202d94
rename AkkaConfig values to CamelCase
2011-10-12 11:35:45 +02:00
Roland
14751f7d29
make everything except tutorial-second compile
...
someone should look at remoting vs. timeout (i.e. which is sent around),
because I removed that in some places. It might simply be irrelevant
once we remove the Future special-casing.
2011-10-12 09:10:05 +02:00
Peter Vlugter
7b1cdb4457
Remove SelfActorRef and use ActorContext to access state in ActorInstance. See #1202
...
- removed SelfActorRef
- added an ActorContext interface that provides a view into ActorInstance
- the ActorInstance (as ActorContext) gets injected into the Actor
- moved self methods like sender and reply directly to the Actor
2011-09-19 12:03:15 +02:00
Viktor Klang
bbb79d8e0d
Start removed but cluster is broken
2011-09-08 11:02:17 +02:00
Roland
950f311648
fix compilation warnings (failed @Inline, erased types)
...
- make no-@Inline variant of DefaultPromise.timeLeft()
- remove type parameters from matches where not needed
- switch DinigHackersOnFsm to self.channel
2011-09-05 09:29:51 +02:00
Jonas Bonér
62f5d47201
Removed trailing whitespace.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-29 15:17:13 +02:00
Peter Vlugter
340ed11de5
Reformat with scalariform
2011-07-26 18:33:59 +12:00
Jonas Bonér
868ec62ee7
Rebased from master branch
2011-04-27 01:06:08 +02:00
Patrik Nordwall
087191f19f
Added parens to start
2011-04-12 09:56:17 +02:00
Jonas Bonér
3374eef6ce
Merged with Viktors work with removing client managed actors. Also removed actor.id, added actor.address
2011-04-08 21:16:05 +02:00
Jonas Bonér
a41fd15228
Merge branch 'master' of github.com:jboner/akka
2011-03-02 00:17:01 +01:00
Roland Kuhn
632848df5a
update Buncher to make it more generic
2011-03-01 20:46:52 +01:00
Jonas Bonér
9354f0790c
Removed logging
2011-02-28 22:54:32 +01:00
Roland Kuhn
be655aa323
fix up indentation
2011-01-04 13:50:50 +01:00
momania
dc1fe991bb
small adjustment to the example, showing the correct use of the startWith and initialize
2011-01-04 09:32:13 +01:00
momania
acee86f9cd
- merge in transition callback handling
...
- renamed notifying -> onTransition
- updated dining hakkers example and unit test
- moved buncher to fsm sample project
2010-12-20 10:40:23 +01:00
Viktor Klang
c76ff14269
Moving all message typed besides Transition into FSM object
2010-11-25 16:11:58 +01:00
momania
774dd97183
- re-add fsm samples
...
- removed ton of whitespaces from the project definition
2010-11-24 15:44:42 +01:00
Jonas Bonér
f97d04f1b7
Separated core from modules, moved modules to akka-modules repository
2010-11-23 15:31:28 +01:00
momania
8ab1f9bced
Merge branch 'master' of git-proxy:jboner/akka
2010-10-28 16:53:15 +02:00
momania
62cb1477b1
More sugar on the syntax
2010-10-28 16:52:50 +02:00
Viktor Klang
41b5fd2de8
Merge with master
2010-10-28 14:03:53 +02:00
imn
efb99fc3a7
use nice case objects for the states :-)
2010-10-27 11:41:35 +02:00
imn
b0d0b27604
refactoring the FSM part
2010-10-26 19:58:14 +02:00
Viktor Klang
680ee7ddf1
BREAKAGE: switching from se.scalablesolutions.akka to akka for all packages
2010-10-26 12:49:25 +02:00
Jonas Bonér
e887a9317a
Changed package name of FSM module to 'se.ss.a.a' plus name from 'Fsm' to 'FSM'
2010-08-22 15:39:47 +02:00
Jonas Bonér
0e8096d4b4
removed trailing whitespace
2010-08-21 16:13:16 +02:00
momania
e26914606b
blade -> chopstick
2010-08-19 18:15:30 +02:00
momania
0f26ccd427
Dining hakkers on fsm
2010-08-19 17:31:59 +02:00
Viktor Klang
4ba859cb95
Adding DiningHakkers as FSM example
2010-08-18 09:46:45 +02:00