actor
Using akka futures and actors for parallelizing a list
I want to send a list of messages to an actor, receive a reply immediately in a future and then wait for all futures to complete before returning to the calling method. From reading the akka docs, I b[详细]
2023-04-12 04:39 分类:问答Are actors the right tool to implement the messaging between a simple multiplayer game?
I\'m thinking about using actors for a simple Asteroid-like game written in Scala and Java2D, which can be played by two players in a cooperative mode.[详细]
2023-04-11 13:04 分类:问答Reply is not transmitted back to the 'client'-actor
I\'ve an unexpected behavior when using remote actors. I\'ve a server and a \'client\'. The client sends a message to the server actor and the server replies. When I use the \'?\' operator everything[详细]
2023-04-10 22:54 分类:问答Scala final vs val for concurrency visibility
In Java, when using an object across multiple threads (and in general), it is good practice tomake fields final. For example,[详细]
2023-04-10 16:49 分类:问答configure akka debugging
Using Akka 1.0 I cannot stop stdout-debug-output although I have set the event-handler-level to ERROR in my akka.conf which is definetely being read correctly.[详细]
2023-04-08 22:07 分类:问答Actor-based distributed concurrency libraries for Ocaml and other languages [closed]
Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines. It is not currently accepting answers.开发者_如何学JAVA[详细]
2023-04-07 16:13 分类:问答How does 'self' work in Scala actors?
The following code snippet is taken from Programming in Scala import actors.Actor object NameResolver extends Actor {[详细]
2023-04-06 12:26 分类:问答Why the scala actor message queue have no bound(size)
def append(msg: Msg, session: OutputChannel[Any]) { changeSize(1) // size always increases by 1 val el = new MQueueElement(msg, session)[详细]
2023-04-06 02:17 分类:问答Inherit message handling behaviour
I have some events in my model and some handling logic. I want organize communication logic throw Actors. But how I can inherit handling logic without specifying act() in each concrete class[详细]
2023-04-05 08:15 分类:问答How to get actor messages from stdin?
I would like to know if it\'s possible (and how) to get an akka actor to receive messages from stdin. Essentially, the idea would be for every line of input to be sent as a message to the actor, e.g.[详细]
2023-04-05 00:55 分类:问答