t

com.avsystem.commons.rpc

ProcedureRPCFramework

trait ProcedureRPCFramework extends RPCFramework

Mix in this trait into your RPC framework to support remote procedures, i.e. fire-and-forget methods with Unit return type.

Linear Supertypes
RPCFramework, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProcedureRPCFramework
  2. RPCFramework
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait ProcedureRawRPC extends AnyRef
  2. abstract type RawRPC <: ProcedureRawRPC
    Definition Classes
    ProcedureRPCFrameworkRPCFramework
  3. abstract type RawValue
    Definition Classes
    RPCFramework
  4. abstract type Reader[T]
    Definition Classes
    RPCFramework
  5. abstract type Writer[T]
    Definition Classes
    RPCFramework
  6. trait AsRawRPC [T] extends AnyRef
    Definition Classes
    RPCFramework
  7. trait AsRealRPC [T] extends AnyRef
    Definition Classes
    RPCFramework
  8. trait RawInvocationHandler [Real] extends AnyRef
    Definition Classes
    RPCFramework
    Annotations
    @implicitNotFound( ... )
  9. trait RawRPCUtils extends AnyRef
    Definition Classes
    RPCFramework
  10. trait RealInvocationHandler [Real, Raw] extends AnyRef
    Definition Classes
    RPCFramework
    Annotations
    @implicitNotFound( ... )

Abstract Value Members

  1. abstract def read[T](raw: RawValue)(implicit arg0: Reader[T]): T
    Definition Classes
    RPCFramework
  2. abstract def write[T](value: T)(implicit arg0: Writer[T]): RawValue
    Definition Classes
    RPCFramework

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. implicit val ProcedureRawHandler: RawInvocationHandler[Unit]
  5. implicit val ProcedureRealHandler: RealInvocationHandler[Unit, Unit]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  13. implicit macro def implicitlyMaterializeAsRaw[T]: AsRawRPC[T]
    Definition Classes
    RPCFramework
  14. implicit macro def implicitlyMaterializeAsReal[T]: AsRealRPC[T]
    Definition Classes
    RPCFramework
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. macro def materializeAsRaw[T]: AsRawRPC[T]

    Materializes a factory of implementations of RawRPC which translate invocations of its raw methods to invocations of actual methods on rpcImpl.

    Materializes a factory of implementations of RawRPC which translate invocations of its raw methods to invocations of actual methods on rpcImpl. Method arguments and results are serialized and deserialized from/to RawValue using Reader and Writer typeclasses.

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

    Materializes a factory of implementations of T which are proxies that implement all abstract methods of T by forwarding them to rawRpc.

    Materializes a factory of implementations of T which are proxies that implement all abstract methods of T by forwarding them to rawRpc. Method arguments and results are serialized and deserialized from/to RawValue using Reader and Writer typeclasses.

    Definition Classes
    RPCFramework
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. macro def tryToRaw[Real, Raw](real: Real, onFailure: Nothing): Raw

    INTERNAL API

    INTERNAL API

    Definition Classes
    RPCFramework
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. object AsRawRPC
    Definition Classes
    RPCFramework
  28. object AsRealRPC
    Definition Classes
    RPCFramework
  29. object RawInvocationHandler
    Definition Classes
    RPCFramework
  30. object RealInvocationHandler
    Definition Classes
    RPCFramework

Inherited from RPCFramework

Inherited from AnyRef

Inherited from Any

Ungrouped