akka.contrib

process

package process

Visibility
  1. Public
  2. All

Type Members

  1. class BlockingProcess extends Actor with ActorLogging

    BlockingProcess encapsulates an operating system process and its ability to be communicated with via stdio i.e.

    BlockingProcess encapsulates an operating system process and its ability to be communicated with via stdio i.e. stdin, stdout and stderr. The reactive streams for stdio are communicated in a BlockingProcess.Started event upon the actor being established. The receiving actor, passed in as a constructor arg, is then subsequently streamed stdout and stderr events. When there are no more stdout or stderr events then the process's exit code is communicated to the receiver in a BlockingProcess.Exited event unless the process is a detached one.

    The actor should be associated with a dedicated dispatcher as various java.io calls are made which can block.

Value Members

  1. object BlockingProcess

Ungrouped