All Downloads are FREE. Search and download functionalities are using the official Maven repository.

akka.zeromq.package.scala Maven / Gradle / Ivy

The newest version!
/**
 * Copyright (C) 2009-2012 Typesafe Inc. 
 */
package akka

import actor.ActorSystem

/**
 * A package object with an implicit conversion for the actor system as a convenience
 */
package object zeromq {

  /**
   * Creates a zeromq actor system implicitly
   * @param system
   * @return An augmented [[akka.actor.ActorSystem]]
   */
  implicit def zeromqSystem(system: ActorSystem): ZeroMQExtension = ZeroMQExtension(system)

  /**
   * Convenience accessor to subscribe to all events
   */
  val SubscribeAll = Subscribe(Seq.empty)

  /**
   * Set the linger to 0, doesn't block and discards messages that haven't been sent yet.
   */
  val NoLinger = Linger(0)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy