Commit graph

58 commits

Author SHA1 Message Date
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
26f23ac5ec 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
Viktor Klang
7f3e65309d Merge branch 'remove-cluster' 2010-11-12 14:16:07 +01:00
Viktor Klang
249f14191d Adding support for onComplete listeners to Future 2010-11-12 12:11:53 +01:00
Viktor Klang
bb855ed690 Removing legacy code for 1.0 2010-11-12 10:58:16 +01:00
Viktor Klang
9df923dd16 Fixing ticket #519 2010-11-11 19:41:06 +01:00
Viktor Klang
08fd01c652 Fixing ticket #524 2010-11-11 17:23:37 +01:00
Viktor Klang
b15fe0ff5d Merge branch 'master' of github.com:jboner/akka 2010-11-04 13:07:24 +01:00
Viktor Klang
1c2c0b2e5d Fixing issue with turning off secure cookies 2010-11-04 12:51:20 +01:00
Jonas Bonér
cbca588248 merged with upstream 2010-11-02 21:18:31 +01:00
Jonas Bonér
ade112348e Merging of RemoteRequest and RemoteReply protocols completed 2010-11-02 18:11:58 +01:00
Jonas Bonér
8e9ab0d5bf formatting 2010-10-31 19:27:55 +01:00
Jonas Bonér
2095f50542 Merge branch 'master' of git@github.com:jboner/akka 2010-10-31 07:13:21 +01:00
Jonas Bonér
17fa581907 Added remote client info to remote server life-cycle events 2010-10-31 07:13:00 +01:00
Viktor Klang
071d428935 Switched to server managed for Supervisor config 2010-10-30 00:41:56 +02:00
Jonas Bonér
c589c4fb55 removed trailing spaces 2010-10-29 16:33:31 +02:00
Jonas Bonér
77451736be Changed default remote port from 9999 to 2552 (AKKA) :-) 2010-10-29 16:07:33 +02:00
Jonas Bonér
175317f95b Merge branch 'master' of git@github.com:jboner/akka 2010-10-29 08:48:22 +02:00
Jonas Bonér
18b74659f5 Added untrusted-mode for remote server which disallows client-managed remote actors and al lifecycle messages 2010-10-28 21:18:25 +02:00
Jonas Bonér
19d86c8ada mid prococol refactoring 2010-10-28 20:30:11 +02:00
Viktor Klang
41b5fd2de8 Merge with master 2010-10-28 14:03:53 +02:00
Jonas Bonér
52f5e5e861 Completed Erlang-style cookie handshake between RemoteClient and RemoteServer 2010-10-26 23:18:13 +02:00
Jonas Bonér
cbc10111af Added Erlang-style secure cookie authentication for remote client/server 2010-10-26 15:23:29 +02:00
Viktor Klang
680ee7ddf1 BREAKAGE: switching from se.scalablesolutions.akka to akka for all packages 2010-10-26 12:49:25 +02:00
Viktor Klang
f11d33953f Making ThreadBasedDispatcher Unbounded if no capacity specced and fix a possible mem leak in it 2010-10-25 18:20:29 +02:00
Viktor Klang
90831a9767 Removing linkedActorsAsList, switching _linkedActors to be a volatile lazy val instead of Option with lazy semantics 2010-10-08 15:43:00 +02:00
Michael Kober
579526d957 register client managed remote actors by uuid 2010-10-07 21:59:55 +02:00
Jonas Bonér
bf33856abd Merge branch 'master' of git@github.com:jboner/akka
Conflicts:
	akka-remote/src/main/scala/remote/RemoteServer.scala
2010-09-30 16:10:39 +02:00
Jonas Bonér
251b4171dc minor edit 2010-09-30 10:13:35 +02:00
Michael Kober
25d66778f2 closing ticket 444, moved RemoteActorSet to ActorRegistry 2010-09-28 14:44:45 +02:00
Viktor Klang
b0e99413b7 Replacing use of == null and != null for Scala 2010-09-28 11:21:05 +02:00
Viktor Klang
3016cf69c8 Removing registeredInRemoteNodeDuringSerialization 2010-09-23 14:50:11 +02:00
Viktor Klang
4f0bb01fd2 Preparing to add UUIDs to RemoteServer as well 2010-09-22 11:37:23 +02:00
Viktor Klang
386ffade5c Merge with master 2010-09-21 16:00:47 +02:00
Viktor Klang
35a160dd93 Folding 3 booleans into 1 reference, preparing for @volatile decimation 2010-09-20 17:15:54 +02:00
Michael Kober
8a6c524861 fixed merge 2010-09-20 12:41:40 +02:00
Michael Kober
233471041b added possibility to register and find remote actors by uuid 2010-09-20 12:33:30 +02:00
Viktor Klang
dfa637b090 Its a wrap! 2010-09-19 18:16:32 +02:00
Viktor Klang
551f25aba8 Aaaaalmost there... 2010-09-17 16:04:25 +02:00
Viktor Klang
971ebf4501 Fixing #437 by adding "Remote" Future 2010-09-16 15:58:46 +02:00
Michael Kober
e77f07c643 closing ticket 434; added id to ActorInfoProtocol 2010-09-16 13:50:57 +02:00
Viktor Klang
e43d9b2b61 Merge branch 'master' into ticket_419 2010-09-14 13:48:52 +02:00
Michael Kober
8d96c42c56 Merge branch 'ticket194' 2010-09-13 18:42:17 +02:00
Michael Kober
5a1e8f5235 closing ticket #426 2010-09-13 13:31:42 +02:00
Viktor Klang
ceff8bd9e8 Remove initTransactionalState, renamed init and shutdown 2010-09-13 11:08:43 +02:00
Viktor Klang
a5c5efc4ff Safekeeping 2010-09-12 11:24:27 +02:00
Michael Kober
bfb612908b closing ticket 378 2010-09-09 10:42:03 +02:00
Viktor Klang
0085dd6504 Removing erronous use of uuid and replaced with id 2010-09-07 12:54:10 +02:00
Viktor Klang
8886de10bb Merge with upstream 2010-09-07 11:05:30 +02:00