Commit graph

12466 commits

Author SHA1 Message Date
ticktock
620ac89268 initial sketch 2010-11-15 08:57:38 -05:00
ticktock
aa282533fb initial sketch 2010-11-15 08:57:38 -05:00
Paul Pacheco
16640ebc50 Added remote typed session actors, along with unit tests 2010-11-14 18:03:34 -06:00
Paul Pacheco
4ee49e3add Added remote typed session actors, along with unit tests 2010-11-14 18:03:34 -06:00
Paul Pacheco
376d1c9dfb Added server initiated remote untyped session actors
now you can register a factory function and whenever a new session starts, the actor will be created and started. When the client disconnects, the actor will be stopped. The client works the same as any other untyped remote server managed actor.

use like this:
	RemoteServer.registerPerSession("actor-name", actorOf[MyActor])

Unregister like this:
	RemoteServer.unregisterPerSession("actor-name")
2010-11-14 16:26:33 -06:00
Paul Pacheco
6d62831f70 Added server initiated remote untyped session actors
now you can register a factory function and whenever a new session starts, the actor will be created and started. When the client disconnects, the actor will be stopped. The client works the same as any other untyped remote server managed actor.

use like this:
	RemoteServer.registerPerSession("actor-name", actorOf[MyActor])

Unregister like this:
	RemoteServer.unregisterPerSession("actor-name")
2010-11-14 16:26:33 -06:00
Paul Pacheco
26f23ac5ec Merge branch 'master' of git://github.com/jboner/akka into session-actors 2010-11-14 13:10:37 -06:00
Paul Pacheco
8ae5e9e796 Merge branch 'master' of git://github.com/jboner/akka into session-actors 2010-11-14 13:10:37 -06:00
Paul Pacheco
67cf3788f3 Added interface for registering session actors, and adding unit test (which is failing now) 2010-11-14 13:10:13 -06:00
Paul Pacheco
8268ca71e7 Added interface for registering session actors, and adding unit test (which is failing now) 2010-11-14 13:10:13 -06:00
Viktor Klang
a808affa46 Fixing ticket #530 2010-11-14 16:29:07 +01:00
Viktor Klang
2b9bfa919e Fixing ticket #530 2010-11-14 16:29:07 +01:00
Peter Vlugter
47a0cf42ec Update redis test after rebase 2010-11-14 10:42:03 +13:00
Peter Vlugter
b69982431a Update redis test after rebase 2010-11-14 10:42:03 +13:00
Peter Vlugter
a86237b1d4 Remove disabled src in stm module 2010-11-14 09:54:10 +13:00
Peter Vlugter
4ecd3f6cab Remove disabled src in stm module 2010-11-14 09:54:10 +13:00
Peter Vlugter
8a857b12bd Move transactor.typed to other packages 2010-11-14 09:54:10 +13:00
Peter Vlugter
ca64512a07 Move transactor.typed to other packages 2010-11-14 09:54:10 +13:00
Peter Vlugter
70361e2868 Update agent and agent spec 2010-11-14 09:54:10 +13:00
Peter Vlugter
f57fc4a0f3 Update agent and agent spec 2010-11-14 09:54:10 +13:00
Peter Vlugter
3b87e82228 Add Atomically for transactor Java API 2010-11-14 09:54:10 +13:00
Peter Vlugter
6e28745471 Add Atomically for transactor Java API 2010-11-14 09:54:10 +13:00
Peter Vlugter
baa181fd0d Add untyped coordinated example to be used in docs 2010-11-14 09:54:10 +13:00
Peter Vlugter
c4a6abddcc Add untyped coordinated example to be used in docs 2010-11-14 09:54:10 +13:00
Peter Vlugter
2cc572e395 Use coordinated.await in test 2010-11-14 09:54:10 +13:00
Peter Vlugter
89d2cee554 Use coordinated.await in test 2010-11-14 09:54:10 +13:00
Peter Vlugter
c0a3437db2 Add coordinated transactions for typed actors 2010-11-14 09:54:10 +13:00
Peter Vlugter
5fb14aeade Add coordinated transactions for typed actors 2010-11-14 09:54:10 +13:00
Peter Vlugter
49c2575ca7 Update new redis tests 2010-11-14 09:54:10 +13:00
Peter Vlugter
a07a85a04f Update new redis tests 2010-11-14 09:54:10 +13:00
Peter Vlugter
db6d90df43 Add untyped transactor 2010-11-14 09:53:15 +13:00
Peter Vlugter
489c3a54b8 Add untyped transactor 2010-11-14 09:53:15 +13:00
Peter Vlugter
4cdc46c23f Add Java API for coordinated transactions 2010-11-14 09:53:15 +13:00
Peter Vlugter
0fa9a670c2 Add Java API for coordinated transactions 2010-11-14 09:53:15 +13:00
Peter Vlugter
2cbd033a45 Move Transactor and Coordinated to akka.transactor package 2010-11-14 09:53:15 +13:00
Peter Vlugter
49c2d7110a Move Transactor and Coordinated to akka.transactor package 2010-11-14 09:53:15 +13:00
Peter Vlugter
8d5be782eb Some tidy up 2010-11-14 09:53:15 +13:00
Peter Vlugter
1fc7532142 Some tidy up 2010-11-14 09:53:15 +13:00
Peter Vlugter
c17cbf76db Add reworked Agent 2010-11-14 09:53:15 +13:00
Peter Vlugter
f18881ba19 Add reworked Agent 2010-11-14 09:53:15 +13:00
Peter Vlugter
d59806c10f Update stm scaladoc 2010-11-14 09:53:15 +13:00
Peter Vlugter
9a0b442704 Update stm scaladoc 2010-11-14 09:53:15 +13:00
Peter Vlugter
e6e8f343da Add new transactor based on new coordinated transactions 2010-11-14 09:53:14 +13:00
Peter Vlugter
9f725b2742 Add new transactor based on new coordinated transactions 2010-11-14 09:53:14 +13:00
Peter Vlugter
cda2468f30 Add new mechanism for coordinated transactions 2010-11-14 09:53:14 +13:00
Peter Vlugter
2d3f3df971 Add new mechanism for coordinated transactions 2010-11-14 09:53:14 +13:00
Peter Vlugter
2b79caa8b3 Reworked stm with no global/local 2010-11-14 09:53:14 +13:00
Peter Vlugter
99d6d6b20d Reworked stm with no global/local 2010-11-14 09:53:14 +13:00
Peter Vlugter
9012847ff1 First pass on separating stm into its own module
- removed transactors everywhere
- moved stm into akka-stm module
- disabled agents (they use transactors internally)
- rewrote persistence tests so that they don't use transactors
2010-11-14 09:53:14 +13:00
Peter Vlugter
a32c30ad75 First pass on separating stm into its own module
- removed transactors everywhere
- moved stm into akka-stm module
- disabled agents (they use transactors internally)
- rewrote persistence tests so that they don't use transactors
2010-11-14 09:53:14 +13:00