Object

com.github.akileev.akka.serial.io

Serial

Related Doc: package io

Permalink

object Serial extends ExtensionId[SerialExt] with ExtensionIdProvider

Serial port extension based on the rxtx library for the akka IO layer.

Linear Supertypes
ExtensionIdProvider, ExtensionId[SerialExt], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Serial
  2. ExtensionIdProvider
  3. ExtensionId
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait AckEvent extends Event

    Permalink

    Ack for a write.

  2. sealed trait Command extends Message

    Permalink

    Messages that are sent to the serial port.

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

    Permalink
  4. sealed trait DataBits extends AnyRef

    Permalink
  5. sealed trait Event extends Message

    Permalink

    Messages received from the serial port.

  6. sealed trait FlowControl extends AnyRef

    Permalink
  7. sealed trait ManagerCommand extends Command

    Permalink

    Command that may be sent to the manager actor.

  8. sealed trait Message extends AnyRef

    Permalink

    Messages used by the serial IO.

  9. case class Open(handler: ActorRef, port: String, baudRate: Int, dataBits: DataBits = DataBits8, parity: Parity = NoParity, stopBits: StopBits = OneStopBit, flowControl: FlowControl = NoFlowControl) extends ManagerCommand with Product with Serializable

    Permalink

    Open a serial port.

    Open a serial port. Response: Opened | CommandFailed

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

    Permalink

    Serial port is now open.

    Serial port is now open. Communication is handled by the operator actor. The sender of the Open message will now receive incoming communication from the serial port.

  11. sealed trait OperatorCommand extends Command

    Permalink

    Command that may be sent to the operator actor.

  12. sealed trait Parity extends AnyRef

    Permalink
  13. case class Ports(ports: Vector[String]) extends Event with Product with Serializable

    Permalink

    Available serial ports.

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

    Permalink

    Data was received on the serial port.

  15. class SerialException extends Exception

    Permalink
  16. sealed trait StopBits extends AnyRef

    Permalink
  17. case class Write(data: ByteString, ack: AckEvent = NoAck) extends OperatorCommand with Product with Serializable

    Permalink

    Write data on the serial port.

    Write data on the serial port. Response: ack (if ack != NoAck)

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Close extends OperatorCommand with Product with Serializable

    Permalink

    Request that the operator should close the port.

    Request that the operator should close the port. Response: Closed

  5. object Closed extends Event with Product with Serializable

    Permalink

    The port was closed.

    The port was closed. Either by request or by an external event (i.e. unplugging)

  6. object DataBits5 extends DataBits

    Permalink
  7. object DataBits6 extends DataBits

    Permalink
  8. object DataBits7 extends DataBits

    Permalink
  9. object DataBits8 extends DataBits

    Permalink
  10. object EvenParity extends Parity

    Permalink
  11. object ListPorts extends ManagerCommand with Product with Serializable

    Permalink

    List all available serial ports.

    List all available serial ports. Response: Ports | CommandFailed

  12. object MarkParity extends Parity

    Permalink
  13. object NoAck extends AckEvent

    Permalink

    Special ack event (is not sent).

  14. object NoFlowControl extends FlowControl

    Permalink
  15. object NoParity extends Parity

    Permalink
  16. object OddParity extends Parity

    Permalink
  17. object OneAndHalfStopBits extends StopBits

    Permalink
  18. object OneStopBit extends StopBits

    Permalink
  19. object RtsFlowControl extends FlowControl

    Permalink
  20. object SpaceParity extends Parity

    Permalink
  21. object TwoStopBits extends StopBits

    Permalink
  22. object XonXoffFlowControl extends FlowControl

    Permalink
  23. def apply(system: ActorSystem): SerialExt

    Permalink
    Definition Classes
    ExtensionId
  24. final def asInstanceOf[T0]: T0

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

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

    Permalink
    Definition Classes
    Serial → ExtensionId
  27. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  34. def lookup(): Serial.type

    Permalink
    Definition Classes
    Serial → ExtensionIdProvider
  35. final def ne(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

Inherited from ExtensionIdProvider

Inherited from ExtensionId[SerialExt]

Inherited from AnyRef

Inherited from Any

Ungrouped