!str #16902: Unify stream internal representation

also =str #16912: Fix StreamTcpSpec flakiness
This commit is contained in:
Endre Sándor Varga 2015-01-28 14:19:50 +01:00
parent cac9c9f2fb
commit 8d77fa8b29
230 changed files with 7814 additions and 9596 deletions

View file

@ -0,0 +1,23 @@
/**
* Copyright (C) 2015 Typesafe Inc. <http://www.typesafe.com>
*/
package akka.stream
import akka.stream.impl.StreamLayout
trait Graph[+S <: Shape, +M] {
/**
* Type-level accessor for the shape parameter of this graph.
*/
type Shape = S
/**
* The shape of a graph is all that is externally visible: its inlets and outlets.
*/
def shape: S
/**
* INTERNAL API.
*
* Every materializable element must be backed by a stream layout module
*/
private[stream] def module: StreamLayout.Module
}