Class/Object

lchannels

SocketOut

Related Docs: object SocketOut | package lchannels

Permalink

class SocketOut[-T] extends lchannels.medium.Out[Socket, T]

Stream-based input channel endpoint, usually created through the companion object or via StreamManager.factory.

Linear Supertypes
medium.Out[Socket, T], Out[T], Channel[Send], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SocketOut
  2. Out
  3. Out
  4. Channel
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SocketOut(sktm: SocketManager)

    Permalink

Value Members

  1. def !(msg: T): Unit

    Permalink

    Alias for send.

    Alias for send.

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

    Permalink

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

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

    Definition Classes
    Out
  3. def !![U](f: (medium.In[Socket, U]) ⇒ T): medium.Out[Socket, U]

    Permalink

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

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

    Definition Classes
    Out
  4. def !![U](f: (Out[U]) ⇒ T): 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: (In[U]) ⇒ T): 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 create[U](): (SocketIn[U], SocketOut[U])

    Permalink

    Return a pair of input/output linear channel endpoints

    Return a pair of input/output linear channel endpoints

    Definition Classes
    SocketOutOutOut
  12. def createContIn[U](): (medium.In[Socket, U], medium.Out[Socket, U])

    Permalink

    Medium-constrained version of lchannels.Out.createContIn.

    Medium-constrained version of lchannels.Out.createContIn.

    Definition Classes
    OutOut
  13. def createContOut[U](): (medium.In[Socket, U], medium.Out[Socket, U])

    Permalink

    Medium-constrained version of lchannels.Out.createContOut.

    Medium-constrained version of lchannels.Out.createContOut.

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  24. 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
  25. def send(x: T): Unit

    Permalink

    Send a message.

    Send a message.

    Definition Classes
    SocketOutOut
    Exceptions thrown

    AlreadyUsed if the channel endpoint was already used for output

  26. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from medium.Out[Socket, T]

Inherited from Out[T]

Inherited from Channel[Send]

Inherited from AnyRef

Inherited from Any

Ungrouped