ConnectionBuilder

portals.api.builder.ConnectionBuilder

Builder for Connections.

Connect a stream to a sequencer using the ConnectionBuilder. This is done by calling the connect method.

Attributes

Example
builder.connections.connect(stream, sequencer)
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def connect[T](aStream: AtomicStreamRefKind[T], sequencer: AtomicSequencerRefKind[T]): AtomicConnection[T]

Connect a stream to a sequencer.

Connect a stream to a sequencer.

Value parameters

aStream

the stream to connect

sequencer

the sequencer to connect

Attributes

Returns

the connection

Example
builder.connections.connect(stream, sequencer)