Class/Object

io.reactors.services

Channels

Related Docs: object Channels | package services

Permalink

class Channels extends ChannelBuilder with Service

The channel register used for channel lookup by name, and creating new channels.

It can be used to query the channels in the local reactor system. To query channels in remote reactor systems, Names service should be used.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Channels
  2. Service
  3. Reflectable
  4. Protocol
  5. ChannelBuilder
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Channels(system: ReactorSystem)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Channels to any2stringadd[Channels] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Channels, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Channels to ArrowAssoc[Channels] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

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

    Permalink
    Definition Classes
    Any
  7. final def await[T](reactorName: String, channelName: String): IVar[Channel[T]]

    Permalink

    Await for the channel of the specific reactor, and a specific name.

    Await for the channel of the specific reactor, and a specific name.

    reactorName

    name of the reactor

    channelName

    name of the channel

    returns

    IVar with the desired channel

  8. final def await[T](name: String): IVar[Channel[T]]

    Permalink

    Await for the channel with the specified full name.

    Await for the channel with the specified full name.

    name

    name of the reactor and the channel, delimited with a #

    returns

    Ivar with the desired channel

  9. val channelName: String

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def daemon: ChannelBuilder

    Permalink

    Specifies a daemon channel.

    Specifies a daemon channel.

    Definition Classes
    ChannelBuilder
  12. def ensuring(cond: (Channels) ⇒ Boolean, msg: ⇒ Any): Channels

    Permalink
    Implicit information
    This member is added by an implicit conversion from Channels to Ensuring[Channels] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (Channels) ⇒ Boolean): Channels

    Permalink
    Implicit information
    This member is added by an implicit conversion from Channels to Ensuring[Channels] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: ⇒ Any): Channels

    Permalink
    Implicit information
    This member is added by an implicit conversion from Channels to Ensuring[Channels] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): Channels

    Permalink
    Implicit information
    This member is added by an implicit conversion from Channels to Ensuring[Channels] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. def eventQueue(factory: Factory): ChannelBuilder

    Permalink

    Associates a new event queue factory.

    Associates a new event queue factory.

    Definition Classes
    ChannelBuilder
  19. val eventQueueFactory: Factory

    Permalink
    Definition Classes
    ChannelBuilder
  20. def extra[C](value: C)(implicit arg0: ClassTag[C]): ChannelBuilder

    Permalink

    Associates extra information with the channel being built.

    Associates extra information with the channel being built.

    Only one object of the specified class can be stored.

    Definition Classes
    ChannelBuilder
  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Channels to StringFormat[Channels] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  23. def get[T](reactorName: String, channelName: String): Option[Channel[T]]

    Permalink

    Optionally returns the channel with the given name, if it exists.

    Optionally returns the channel with the given name, if it exists.

    reactorName

    name of the reactor

    channelName

    name of the channel

  24. def get[T](name: String): Option[Channel[T]]

    Permalink

    Optionally returns the channel with the given name, if it exists.

    Optionally returns the channel with the given name, if it exists.

    name

    names of the reactor and the channel, separated with a #

  25. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  27. val isDaemon: Boolean

    Permalink
    Definition Classes
    ChannelBuilder
  28. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  29. def named(name: String): ChannelBuilder

    Permalink

    Associates a new name for the channel.

    Associates a new name for the channel.

    Definition Classes
    ChannelBuilder
  30. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. def nonDaemon: ChannelBuilder

    Permalink

    Specifies a daemon channel.

    Specifies a daemon channel.

    Definition Classes
    ChannelBuilder
  32. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  34. final def open[Q](implicit arg0: Arrayable[Q]): Connector[Q]

    Permalink

    Opens a new channel for this reactor.

    Opens a new channel for this reactor.

    Q

    type of the events in the new channel

    returns

    the connector object of the new channel

    Definition Classes
    ChannelBuilder
  35. def registerTemplate(tag: Tag, template: ChannelBuilder): Unit

    Permalink

    Registers a channel builder template under a specific tag.

    Registers a channel builder template under a specific tag.

    Specific protocols use channel builder templates to instantiate their components, and overriding a template in some cases allows to inject custom behavior (for example, for testing purposes). Removes previous registrations, if any.

  36. def shortcut: ChannelBuilder

    Permalink

    Designates whether this channel can bypass the event queue for local sends.

    Designates whether this channel can bypass the event queue for local sends.

    This is false by default.

    Definition Classes
    ChannelBuilder
  37. val shortcutLocal: Boolean

    Permalink
    Definition Classes
    ChannelBuilder
  38. def shutdown(): Unit

    Permalink
    Definition Classes
    ChannelsService
  39. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  40. val system: ReactorSystem

    Permalink
    Definition Classes
    ChannelsProtocol
  41. def template(tag: Tag): ChannelBuilder

    Permalink

    Returns a channel builder template that had been previously registered for a tag.

    Returns a channel builder template that had been previously registered for a tag.

    If no template was registered with the specified tag, method returns this.

  42. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. def [B](y: B): (Channels, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Channels to ArrowAssoc[Channels] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Service

Inherited from Reflectable

Inherited from Protocol

Inherited from ChannelBuilder

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Channels to any2stringadd[Channels]

Inherited by implicit conversion StringFormat from Channels to StringFormat[Channels]

Inherited by implicit conversion Ensuring from Channels to Ensuring[Channels]

Inherited by implicit conversion ArrowAssoc from Channels to ArrowAssoc[Channels]

Ungrouped