com.github.jodersky.flow

Serial

object Serial extends ExtensionKey[SerialExt]

Defines messages used by flow's serial IO layer.

Linear Supertypes
ExtensionKey[SerialExt], ExtensionIdProvider, ExtensionId[SerialExt], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Serial
  2. ExtensionKey
  3. ExtensionIdProvider
  4. ExtensionId
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait Command extends Message

    A message extending this trait is to be viewed as a command, an out-bound message issued by the client to flow's API.

  2. case class CommandFailed(command: Command, reason: Throwable) extends Event with Product with Serializable

    A command has failed.

  3. trait Event extends Message

    A message extending this trait is to be viewed as an event, an in-bound message issued by flow to the client.

  4. sealed trait Message extends AnyRef

    Base trait for any flow-related messages.

  5. case class Open(port: String, settings: SerialSettings, bufferSize: Int = 1024) extends Command with Product with Serializable

    Open a new serial port.

  6. case class Opened(port: String) extends Event with Product with Serializable

    A port has been successfully opened.

  7. case class Received(data: ByteString) extends Event with Product with Serializable

    Data has been received.

  8. case class Write(data: ByteString, ack: (Int) ⇒ Event = Serial.this.NoAck) extends Command with Product with Serializable

    Write data to a serial port.

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object Close extends Command with Product with Serializable

    Request closing of port.

  7. object Closed extends Event with Product with Serializable

    A port has been closed.

  8. object NoAck extends (Int) ⇒ Event with Product with Serializable

    Special type of acknowledgment that is not sent back.

  9. def apply(system: ActorSystem): SerialExt

    Definition Classes
    ExtensionId
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def createExtension(system: ExtendedActorSystem): SerialExt

    Definition Classes
    ExtensionKey → ExtensionId
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. final def equals(other: Any): Boolean

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def get(system: ActorSystem): SerialExt

    Definition Classes
    ExtensionId
  17. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  20. def lookup(): ExtensionId[SerialExt]

    Definition Classes
    ExtensionKey → ExtensionIdProvider
  21. final def ne(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef
  25. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ExtensionKey[SerialExt]

Inherited from ExtensionIdProvider

Inherited from ExtensionId[SerialExt]

Inherited from AnyRef

Inherited from Any

Ungrouped