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.
- Alphabetic
- By Inheritance
- ProcedureRPCFramework
- RPCFramework
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- trait ProcedureRawRPC extends AnyRef
-
abstract
type
RawRPC <: ProcedureRawRPC
- Definition Classes
- ProcedureRPCFramework → RPCFramework
-
abstract
type
RawValue
- Definition Classes
- RPCFramework
-
abstract
type
Reader[T]
- Definition Classes
- RPCFramework
-
abstract
type
Writer[T]
- Definition Classes
- RPCFramework
-
trait
AsRawRPC
[T] extends AnyRef
- Definition Classes
- RPCFramework
-
trait
AsRealRPC
[T] extends AnyRef
- Definition Classes
- RPCFramework
-
trait
RawInvocationHandler
[Real] extends AnyRef
- Definition Classes
- RPCFramework
- Annotations
- @implicitNotFound( ... )
-
trait
RawRPCUtils
extends AnyRef
- Definition Classes
- RPCFramework
-
trait
RealInvocationHandler
[Real, Raw] extends AnyRef
- Definition Classes
- RPCFramework
- Annotations
- @implicitNotFound( ... )
Abstract Value Members
-
abstract
def
read[T](raw: RawValue)(implicit arg0: Reader[T]): T
- Definition Classes
- RPCFramework
-
abstract
def
write[T](value: T)(implicit arg0: Writer[T]): RawValue
- Definition Classes
- RPCFramework
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- implicit val ProcedureRawHandler: RawInvocationHandler[Unit]
- implicit val ProcedureRealHandler: RealInvocationHandler[Unit, Unit]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
implicit macro
def
implicitlyMaterializeAsRaw[T]: AsRawRPC[T]
- Definition Classes
- RPCFramework
-
implicit macro
def
implicitlyMaterializeAsReal[T]: AsRealRPC[T]
- Definition Classes
- RPCFramework
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
-
macro
def
materializeAsReal[T]: AsRealRPC[T]
Materializes a factory of implementations of
Twhich are proxies that implement all abstract methods ofTby forwarding them torawRpc.Materializes a factory of implementations of
Twhich are proxies that implement all abstract methods ofTby forwarding them torawRpc. Method arguments and results are serialized and deserialized from/to RawValue using Reader and Writer typeclasses.- Definition Classes
- RPCFramework
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
macro
def
tryToRaw[Real, Raw](real: Real, onFailure: Nothing): Raw
INTERNAL API
INTERNAL API
- Definition Classes
- RPCFramework
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
object
AsRawRPC
- Definition Classes
- RPCFramework
-
object
AsRealRPC
- Definition Classes
- RPCFramework
-
object
RawInvocationHandler
- Definition Classes
- RPCFramework
-
object
RealInvocationHandler
- Definition Classes
- RPCFramework