com.codemettle.streamutil.IngestingResult.scala Maven / Gradle / Ivy
The newest version!
package com.codemettle.streamutil
import java.net.InetSocketAddress
import akka.stream.KillSwitch
/**
* @author steven
*
*/
sealed trait IngestingResult
case class Ingesting(boundTo: InetSocketAddress, ks: KillSwitch) extends IngestingResult
case object BindFailure extends IngestingResult
case class OtherFailure(t: Throwable) extends IngestingResult