package rpc
- Alphabetic
- By Inheritance
- rpc
- RPCBackend
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Package Members
- package serialization
- package utils
Type Members
- class AtmosphereService[ServerRPCType] extends AtmosphereServletProcessor with StrictLogging
Integration between Atmosphere framework and Udash RPC system.
Integration between Atmosphere framework and Udash RPC system.
- ServerRPCType
Main server side RPC interface
- trait AtmosphereServiceConfig[ServerRPCType] extends AnyRef
- case class ClientId(id: String) extends ClientRPCTarget with Product with Serializable
- abstract class ClientRPC[ClientRPCType] extends UsesClientRPC[ClientRPCType]
- sealed trait ClientRPCTarget extends AnyRef
Target for server to client call.
Target for server to client call. Possible values:
* io.udash.rpc.AllClients - all connected clients
* io.udash.rpc.ClientId - one concrete client connection id - trait ClientRawRpc extends RawRpc[ClientRawRpc]
- abstract class ClientRpcCompanion[Serialization, ClientRpc] extends AnyRef
- trait ClientRpcInstances[T] extends AnyRef
- type DefaultAtmosphereFramework = rpc.utils.DefaultAtmosphereFramework
- Definition Classes
- RPCBackend
- class DefaultAtmosphereServiceConfig[ServerRPCType] extends AtmosphereServiceConfig[ServerRPCType] with LazyLogging
Default io.udash.rpc.AtmosphereServiceConfig implementation.
Default io.udash.rpc.AtmosphereServiceConfig implementation.
Creates RPC endpoint per HTTP connection. Endpoint can be aware of io.udash.rpc.ClientId.
- class DefaultClientRPC[ClientRPCType] extends ClientRPC[ClientRPCType]
Default implementation of io.udash.rpc.ClientRPC for server to client communication.
- abstract class DefaultClientRpcCompanion[ClientRpc] extends ClientRpcCompanion[DefaultUdashSerialization, ClientRpc]
- class DefaultExposesServerRPC[ServerRPCType] extends ExposesServerRPC[ServerRPCType]
- abstract class DefaultServerRpcCompanion[ServerRpc] extends ServerRpcCompanion[DefaultUdashSerialization, ServerRpc]
- trait ExposesLocalRPC[T] extends AnyRef
Base trait for anything that exposes some RPC interface.
- abstract class ExposesServerRPC[ServerRPCType] extends ExposesLocalRPC[ServerRPCType]
- type FileDownloadServlet = rpc.utils.FileDownloadServlet
- Definition Classes
- RPCBackend
- type FileUploadServlet = rpc.utils.FileUploadServlet
- Definition Classes
- RPCBackend
- case class GetterMethod[T](resultMetadata: ServerRpcMetadata.Lazy[T]) extends TypedMetadata[T] with Product with Serializable
- Annotations
- @allowIncomplete()
- final case class JsonStr(json: String) extends AnyVal with Product with Serializable
- case class LoggedMethod[T](name: String) extends TypedMetadata[T] with Product with Serializable
- Annotations
- @allowIncomplete()
- trait RPCBackend extends AnyRef
- trait RawRpc[Self <: RawRpc[Self]] extends AnyRef
- case class RpcCall(invocation: RpcInvocation, gettersChain: List[RpcInvocation], callId: String) extends RpcRequest with Product with Serializable
RpcRequest which returns some value.
- case class RpcFailure(remoteCause: String, remoteMessage: String) extends Exception with Product with Serializable
- case class RpcFire(invocation: RpcInvocation, gettersChain: List[RpcInvocation]) extends RpcRequest with RpcServerMessage with Product with Serializable
RpcRequest which returns Unit.
- case class RpcInvocation(rpcName: String, args: List[JsonStr]) extends Product with Serializable
- sealed trait RpcRequest extends AnyRef
- sealed trait RpcResponse extends RpcServerMessage
- case class RpcResponseException(name: String, exception: Throwable, callId: String) extends RpcResponse with Product with Serializable
Message reporting exception from RpcCall.
- case class RpcResponseFailure(cause: String, errorMsg: String, callId: String) extends RpcResponse with Product with Serializable
Message reporting failure of RpcCall.
- case class RpcResponseSuccess(response: JsonStr, callId: String) extends RpcResponse with Product with Serializable
Message containing response for RpcCall.
- sealed trait RpcServerMessage extends AnyRef
- class RpcServlet extends HttpServlet
Servlet for RPC endpoint.
- trait ServerRawRpc extends RawRpc[ServerRawRpc]
- abstract class ServerRpcCompanion[Serialization, ServerRpc] extends AnyRef
- trait ServerRpcInstances[T] extends AnyRef
- case class ServerRpcMetadata[T](name: String, getters: Map[String, GetterMethod[_]], loggedMethods: Map[String, LoggedMethod[_]]) extends Product with Serializable
- Annotations
- @allowIncomplete()
- trait UsesRemoteRPC[T] extends AnyRef
Base trait for anything that uses remote RPC interface.
Value Members
- case object AllClients extends ClientRPCTarget with Product with Serializable
- object ClientRawRpc extends RawRpcCompanion[ClientRawRpc]
- object JsonStr extends Serializable
- object RpcCall extends HasGenCodec[RpcCall] with Serializable
- object RpcFailure extends HasGenCodec[RpcFailure] with Serializable
- object RpcFire extends HasGenCodec[RpcFire] with Serializable
- object RpcInvocation extends HasGenCodec[RpcInvocation] with Serializable
- object RpcRequest extends HasGenCodec[RpcRequest]
- object RpcResponse
- object RpcResponseException extends Serializable
- object RpcServerMessage
- object ServerRawRpc extends RawRpcCompanion[ServerRawRpc]
- object ServerRpcMetadata extends RpcMetadataCompanion[ServerRpcMetadata] with Serializable