Trait

io.udash.rpc

ClientUdashRPCFramework

Related Doc: package rpc

Permalink

trait ClientUdashRPCFramework extends UdashRPCFramework

Base RPC framework for client RPC interface. This one does not allow RPC interfaces to contain methods with return type Future[T].

Linear Supertypes
UdashRPCFramework, GenCodecSerializationFramework, ProcedureRPCFramework, GetterRPCFramework, RPCFramework, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClientUdashRPCFramework
  2. UdashRPCFramework
  3. GenCodecSerializationFramework
  4. ProcedureRPCFramework
  5. GetterRPCFramework
  6. RPCFramework
  7. AnyRef
  8. 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. final class GetterRawHandler[T] extends com.avsystem.commons.rpc.GetterRPCFramework.RawInvocationHandler[T]

    Permalink
    Definition Classes
    GetterRPCFramework
  4. trait GetterRawRPC extends AnyRef

    Permalink
    Definition Classes
    GetterRPCFramework
  5. final class GetterRealHandler[T] extends com.avsystem.commons.rpc.GetterRPCFramework.RealInvocationHandler[T, com.avsystem.commons.rpc.GetterRPCFramework.RawRPC]

    Permalink
    Definition Classes
    GetterRPCFramework
  6. case class ParamMetadata extends Product with Serializable

    Permalink
    Definition Classes
    RPCFramework
  7. class ParamTypeMetadata[+T] extends AnyRef

    Permalink
    Definition Classes
    UdashRPCFramework
  8. trait ProcedureRawRPC extends AnyRef

    Permalink
    Definition Classes
    ProcedureRPCFramework
  9. 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.

    Definition Classes
    UdashRPCFramework
  10. case class RPCFailure(remoteCause: String, remoteMessage: String) extends Exception with Product with Serializable

    Permalink
    Definition Classes
    UdashRPCFramework
  11. 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.

    Definition Classes
    UdashRPCFramework
  12. trait RPCMetadata[T] extends AnyRef

    Permalink
    Definition Classes
    RPCFramework
  13. sealed trait RPCRequest extends AnyRef

    Permalink
    Definition Classes
    UdashRPCFramework
  14. sealed trait RPCResponse extends AnyRef

    Permalink
    Definition Classes
    UdashRPCFramework
  15. case class RPCResponseException(name: String, exception: Throwable, callId: String) extends RPCResponse with Product with Serializable

    Permalink

    Message reporting exception from io.udash.rpc.UdashRPCFramework.RPCCall.

    Message reporting exception from io.udash.rpc.UdashRPCFramework.RPCCall.

    Definition Classes
    UdashRPCFramework
  16. 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.

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

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

    Permalink

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

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

    Definition Classes
    UdashRPCFramework
  18. case class RawInvocation extends Product with Serializable

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

    Permalink
    Definition Classes
    RPCFramework
    Annotations
    @implicitNotFound( ... )
  20. trait RawRPC extends GetterRawRPC with ProcedureRawRPC

    Permalink
  21. trait RawRPCUtils extends AnyRef

    Permalink
    Definition Classes
    RPCFramework
  22. abstract type RawValue

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

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

    Permalink
    Definition Classes
    RPCFramework
    Annotations
    @implicitNotFound( ... )
  25. case class Signature extends Product with Serializable

    Permalink
    Definition Classes
    RPCFramework
  26. type Writer[T] = Auto[T]

    Permalink

Abstract Value Members

  1. abstract val RawValueCodec: GenCodec[RawValue]

    Permalink
    Definition Classes
    UdashRPCFramework
  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.

    Definition Classes
    UdashRPCFramework
  5. abstract def stringToRaw(string: String): RawValue

    Permalink

    Converts String into RawValue.

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

    Definition Classes
    UdashRPCFramework

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 object ParamTypeMetadata extends ParamTypeMetadata[Nothing]

    Permalink
    Definition Classes
    UdashRPCFramework
  5. implicit val ProcedureRawHandler: RawInvocationHandler[Unit]

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

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

    Permalink
    Definition Classes
    UdashRPCFramework
  8. implicit val RPCRequestCodec: GenCodec[RPCRequest]

    Permalink
    Definition Classes
    UdashRPCFramework
  9. def RPCResponseCodec(exceptionsRegistry: ExceptionCodecRegistry): GenCodec[RPCResponse]

    Permalink
    Definition Classes
    UdashRPCFramework
  10. implicit val RawInvocationCodec: GenCodec[RawInvocation]

    Permalink
    Definition Classes
    UdashRPCFramework
  11. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. implicit macro def getterRawHandler[T](implicit ev: IsRPC[T]): RawInvocationHandler[T]

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

    Permalink
    Definition Classes
    GetterRPCFramework
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. implicit macro def implicitlyMaterializeAsRaw[T]: AsRawRPC[T]

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

    Permalink
    Definition Classes
    RPCFramework
  22. implicit macro def implicitlyMaterializeMetadata[T]: RPCMetadata[T]

    Permalink
    Definition Classes
    RPCFramework
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. macro def materializeAsRaw[T]: AsRawRPC[T]

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

    Permalink
    Definition Classes
    RPCFramework
  26. macro def materializeMetadata[T]: RPCMetadata[T]

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

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

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

    Permalink
    Definition Classes
    AnyRef
  30. 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
  31. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. 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 UdashRPCFramework

Inherited from ProcedureRPCFramework

Inherited from GetterRPCFramework

Inherited from RPCFramework

Inherited from AnyRef

Inherited from Any

Ungrouped