AbstractLogic

abstract class AbstractLogic(name: String, layer: Layer, shape: Shp)(implicit allocator: Allocator) extends NodeImpl[Shp] with NodeHasInitImpl with OutHandler
trait OutHandler
class NodeImpl[Shp]
trait Node
class GraphStageLogic
class Object
trait Matchable
class Any

Type members

Inherited classlikes

class SubSinkInlet[T]
Inherited from:
GraphStageLogic
Inherited from:
GraphStageLogic

Deprecated and Inherited classlikes

@deprecated("Should move to using Handlers", since = "2.35.1")
abstract class InHandlerImpl[A](in: In[A]) extends InHandler
Deprecated
[Since version 2.35.1]
Inherited from:
NodeImpl

Value members

Abstract methods

protected def spec: AudioFileSpec
protected def uri: URI

Concrete methods

final protected def framesWritten: Long
override protected def init(): Unit
Definition Classes
final protected def isSuccess: Boolean
override protected def launch(): Unit
Definition Classes
override def onDownstreamFinish(cause: Throwable): Unit
Definition Classes
OutHandler
final def onPull(): Unit
override protected def stopped(): Unit
Definition Classes

Inherited methods

final def async(body: => Unit): Unit
Inherited from:
NodeImpl
final def cancelStage(cause: Throwable): Unit
Inherited from:
GraphStageLogic
def completeAsync(): Future[Unit]
Inherited from:
NodeImpl
final def completeStage(): Unit
Inherited from:
GraphStageLogic
final def failAsync(ex: Exception): Unit
Inherited from:
NodeImpl
final def failStage(ex: Throwable): Unit
Inherited from:
GraphStageLogic
final def getAsyncCallback[T](handler: T => Unit): AsyncCallback[T]
Inherited from:
GraphStageLogic
final def grabIn[A](in: Inlet[A]): A

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
final def initAsync(): Future[Unit]
Inherited from:
NodeHasInitImpl
final def isAvailable[T](out: Outlet[T]): Boolean
Inherited from:
GraphStageLogic
final def isInAvailable[A](inlet: Inlet[A]): Boolean

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
final def isInClosed[A](inlet: Inlet[A]): Boolean

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
final protected def isInitialized: Boolean
Inherited from:
NodeHasInitImpl
final def isOutAvailable[A](outlet: Outlet[A]): Boolean

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
final def isOutClosed[A](outlet: Outlet[A]): Boolean

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
final def launchAsync(): Future[Unit]
Inherited from:
NodeImpl
final protected def notifyFail(ex: Throwable): Unit
Inherited from:
NodeImpl
final override def postStop(): Unit

Invoked by Akka after processing of external events stopped because the operator is about to stop or fail. Calls stopped and then removes the node from the control.

Invoked by Akka after processing of external events stopped because the operator is about to stop or fail. Calls stopped and then removes the node from the control.

Definition Classes
Inherited from:
Node
final override def preStart(): Unit

Final so we don't accidentally place code here. In order to initialize state, use NodeHasInitImpl and implement init.

Final so we don't accidentally place code here. In order to initialize state, use NodeHasInitImpl and implement init.

Definition Classes
Inherited from:
Node
final def pushOut[A](out: Outlet[A], elem: A): Unit

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
final def setInHandler[A](in: Inlet[A], handler: InHandler): Unit

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
final def setOutHandler[A](out: Outlet[A], handler: OutHandler): Unit

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
final def stageActor: StageActor
Inherited from:
GraphStageLogic
override def toString: String
Definition Classes
NodeImpl -> GraphStageLogic -> Any
Inherited from:
NodeImpl
final def tryPullIn[A](in: Inlet[A]): Unit

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl

Deprecated and Inherited methods

@deprecated(message = "Call onDownstreamFinish with a cancellation cause.", since = "2.6.0") @deprecatedOverriding(message = "Override `def onDownstreamFinish(cause: Throwable)`, instead.", since = "2.6.0") @throws(classOf[Exception])
def onDownstreamFinish(): Unit
Deprecated
[Since version 2.6.0] Call onDownstreamFinish with a cancellation cause.
Inherited from:
OutHandler

Implicits

Inherited implicits

final implicit override val control: Control
Inherited from:
NodeImpl