Trait

io.udash.rpc

UdashRPCFramework

Related Doc: package rpc

Permalink

trait UdashRPCFramework extends GetterRPCFramework with ProcedureRPCFramework with GenCodecSerializationFramework

Base for all RPC frameworks in Udash.

Linear Supertypes
GenCodecSerializationFramework, ProcedureRPCFramework, GetterRPCFramework, RPCFramework, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UdashRPCFramework
  2. GenCodecSerializationFramework
  3. ProcedureRPCFramework
  4. GetterRPCFramework
  5. RPCFramework
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait AsRawRPC[T] extends AnyRef

    Permalink
    Definition Classes
    RPCFramework
  2. trait AsRealRPC[T] extends AnyRef

    Permalink
    Definition Classes
    RPCFramework
  3. trait GetterRawRPC extends AnyRef

    Permalink
    Definition Classes
    GetterRPCFramework
  4. trait ProcedureRawRPC extends AnyRef

    Permalink
    Definition Classes
    ProcedureRPCFramework
  5. case class RPCCall(invocation: UdashRPCFramework.RawInvocation, gettersChain: List[UdashRPCFramework.RawInvocation], callId: String) extends RPCRequest with Product with Serializable

    Permalink

    io.udash.rpc.UdashRPCFramework.RPCRequest which returns some value.

  6. case class RPCFailure(remoteCause: String, remoteMessage: String) extends Exception with Product with Serializable

    Permalink
  7. case class RPCFire(invocation: UdashRPCFramework.RawInvocation, gettersChain: List[UdashRPCFramework.RawInvocation]) extends RPCRequest with Product with Serializable

    Permalink

    io.udash.rpc.UdashRPCFramework.RPCRequest which returns Unit.

  8. sealed trait RPCRequest extends AnyRef

    Permalink
  9. sealed trait RPCResponse extends AnyRef

    Permalink
  10. case class RPCResponseFailure(cause: String, errorMsg: String, callId: String) extends RPCResponse with Product with Serializable

    Permalink

    Message reporting failure of io.udash.rpc.UdashRPCFramework.RPCCall.

  11. case class RPCResponseSuccess(response: UdashRPCFramework.RawValue, callId: String) extends RPCResponse with Product with Serializable

    Permalink

    Message containing response for io.udash.rpc.UdashRPCFramework.RPCCall.

  12. case class RawInvocation extends Product with Serializable

    Permalink
    Definition Classes
    GetterRPCFramework
  13. trait RawInvocationHandler[Real] extends AnyRef

    Permalink
    Definition Classes
    RPCFramework
    Annotations
    @implicitNotFound( ... )
  14. abstract type RawRPC <: GetterRawRPC with ProcedureRawRPC

    Permalink
    Definition Classes
    UdashRPCFramework → ProcedureRPCFramework → GetterRPCFramework → RPCFramework
  15. trait RawRPCUtils extends AnyRef

    Permalink
    Definition Classes
    RPCFramework
  16. abstract type RawValue

    Permalink
    Definition Classes
    RPCFramework
  17. type Reader[T] = Auto[T]

    Permalink
  18. trait RealInvocationHandler[Real, Raw] extends AnyRef

    Permalink
    Definition Classes
    RPCFramework
    Annotations
    @implicitNotFound( ... )
  19. type Writer[T] = Auto[T]

    Permalink

Abstract Value Members

  1. abstract val RawValueCodec: GenCodec[RawValue]

    Permalink
  2. abstract def inputSerialization(value: RawValue): Input

    Permalink

    Returns Input for data marshalling.

    Returns Input for data marshalling.

    Definition Classes
    GenCodecSerializationFramework
  3. abstract def outputSerialization(valueConsumer: (RawValue) ⇒ Unit): Output

    Permalink

    Returns Output for data unmarshalling.

    Returns Output for data unmarshalling.

    Definition Classes
    GenCodecSerializationFramework
  4. abstract def rawToString(raw: RawValue): String

    Permalink

    Converts RawValue into String.

    Converts RawValue into String. It is used to write data to network.

  5. abstract def stringToRaw(string: String): RawValue

    Permalink

    Converts String into RawValue.

    Converts String into RawValue. It is used to read data from network.

Concrete 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. implicit macro def GetterRawHandler[T](implicit ev: IsRPC[T]): RawInvocationHandler[T]

    Permalink
    Definition Classes
    GetterRPCFramework
  5. implicit macro def GetterRealHandler[T](implicit ev: IsRPC[T]): RealInvocationHandler[T, RawRPC]

    Permalink
    Definition Classes
    GetterRPCFramework
  6. implicit val ProcedureRawHandler: RawInvocationHandler[Unit]

    Permalink
    Definition Classes
    ProcedureRPCFramework
  7. implicit val ProcedureRealHandler: RealInvocationHandler[Unit, Unit]

    Permalink
    Definition Classes
    ProcedureRPCFramework
  8. implicit val RPCFailureCodec: GenCodec[RPCFailure]

    Permalink
  9. implicit val RPCRequestCodec: GenCodec[RPCRequest]

    Permalink
  10. implicit val RPCResponseCodec: GenCodec[RPCResponse]

    Permalink
  11. implicit val RawInvocationCodec: GenCodec[RawInvocation]

    Permalink
  12. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  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. implicit macro def materializeAsRaw[T]: AsRawRPC[T]

    Permalink
    Definition Classes
    RPCFramework
  21. implicit macro def materializeAsReal[T]: AsRealRPC[T]

    Permalink
    Definition Classes
    RPCFramework
  22. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  25. def read[T](raw: RawValue)(implicit arg0: Reader[T]): T

    Permalink

    Converts RawValue into value of type T.

    Converts RawValue into value of type T.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  28. macro def tryToRaw[Real, Raw](real: Real, onFailure: Nothing): Raw

    Permalink
    Definition Classes
    RPCFramework
  29. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def write[T](value: T)(implicit arg0: Writer[T]): RawValue

    Permalink

    Converts value of type T into RawValue.

    Converts value of type T into RawValue.

    Definition Classes
    GenCodecSerializationFramework

Inherited from ProcedureRPCFramework

Inherited from GetterRPCFramework

Inherited from RPCFramework

Inherited from AnyRef

Inherited from Any

Ungrouped