akka.zeromq.Response.scala Maven / Gradle / Ivy
The newest version!
/**
* Copyright (C) 2009-2014 Typesafe Inc.
*/
package akka.zeromq
/**
* Base trait for the events raised by a ZeroMQ socket actor
*/
sealed trait Response
/**
* When the ZeroMQ socket connects it sends this message to a listener
*/
case object Connecting extends Response {
/**
* Java API: get the singleton instance
*/
def getInstance = this
}
/**
* When the ZeroMQ socket disconnects it sends this message to a listener
*/
case object Closed extends Response {
/**
* Java API: get the singleton instance
*/
def getInstance = this
}