Class

lchannels.medium

Out

Related Doc: package medium

Permalink

abstract class Out[M, -T] extends lchannels.Out[T]

Linear Supertypes
lchannels.Out[T], Channel[Send], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Out
  2. Out
  3. Channel
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Out()

    Permalink

Abstract Value Members

  1. abstract def create[U](): (In[M, U], Out[M, U])

    Permalink

    Return a pair of input/output linear channel endpoints

    Return a pair of input/output linear channel endpoints

    Definition Classes
    OutOut
  2. abstract def send(msg: T): Unit

    Permalink

    Send a message.

    Send a message.

    msg

    Message to be sent

    Definition Classes
    Out
    Exceptions thrown

    AlreadyUsed if the channel endpoint was already used for output

Concrete Value Members

  1. def !(msg: T): Unit

    Permalink

    Alias for send.

    Alias for send.

    Definition Classes
    Out
  2. def !![U](f: (Out[M, U]) ⇒ T): In[M, U]

    Permalink

    Medium-constrained version of lchannels.Out.!!.

  3. def !![U](f: (In[M, U]) ⇒ T): Out[M, U]

    Permalink

    Medium-constrained version of lchannels.Out.!!.

  4. def !![U](f: (lchannels.Out[U]) ⇒ T): lchannels.In[U]

    Permalink

    Create a pair of U-typed channel endpoints (i,o), send the return value of f(o), and return i.

    Create a pair of U-typed channel endpoints (i,o), send the return value of f(o), and return i.

    This method automates channel creation in continuation-passing-style protocols, when the output endpoint must be sent as part of a T-typed message (as returned by f(i)), and the input endpoint is later used to continue the interaction.

    f

    Function that, when applied to an output channel endpoint, returns the message to be sent.

    Definition Classes
    Out
  5. def !![U](f: (lchannels.In[U]) ⇒ T): lchannels.Out[U]

    Permalink

    Create a pair of U-typed channel endpoints (i,o), send the return value of f(i), and return o.

    Create a pair of U-typed channel endpoints (i,o), send the return value of f(i), and return o.

    This method automates channel creation in continuation-passing-style protocols, when the input endpoint must be sent as part of a T-typed message (as returned by f(i)), and the output endpoint is later used to continue the interaction.

    f

    Function that, when applied to an input channel endpoint, returns the message to be sent.

    Definition Classes
    Out
  6. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  7. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  8. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def createContIn[U](): (In[M, U], Out[M, U])

    Permalink

    Medium-constrained version of lchannels.Out.createContIn.

    Medium-constrained version of lchannels.Out.createContIn.

    Definition Classes
    OutOut
  12. def createContOut[U](): (In[M, U], Out[M, U])

    Permalink

    Medium-constrained version of lchannels.Out.createContOut.

    Medium-constrained version of lchannels.Out.createContOut.

    Definition Classes
    OutOut
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final def markAsUsed(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Channel
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def promise[U <: T]: Promise[U]

    Permalink

    Return a promise that, once completed with a value v, causes v to be sent along this channel endpoint.

    Return a promise that, once completed with a value v, causes v to be sent along this channel endpoint.

    Definition Classes
    Out
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from lchannels.Out[T]

Inherited from Channel[Send]

Inherited from AnyRef

Inherited from Any

Ungrouped