Package

io.udash

rpc

Permalink

package rpc

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

Type Members

  1. class AtmosphereService[ServerRPCType] extends AtmosphereServletProcessor with StrictLogging

    Permalink

    Integration between Atmosphere framework and Udash RPC system.

    Integration between Atmosphere framework and Udash RPC system.

    ServerRPCType

    Main server side RPC interface

  2. trait AtmosphereServiceConfig[ServerRPCType] extends AnyRef

    Permalink
  3. case class ClientId(id: String) extends ClientRPCTarget with Product with Serializable

    Permalink
  4. abstract class ClientRPC[ClientRPCType] extends UsesClientRPC[ClientRPCType]

    Permalink
  5. sealed trait ClientRPCTarget extends AnyRef

    Permalink

    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

  6. trait ClientRawRpc extends RawRpc[ClientRawRpc]

    Permalink
  7. abstract class ClientRpcCompanion[Serialization, ClientRpc] extends AnyRef

    Permalink
  8. trait ClientRpcInstances[T] extends AnyRef

    Permalink
  9. type DefaultAtmosphereFramework = rpc.utils.DefaultAtmosphereFramework

    Permalink
    Definition Classes
    RPCBackend
  10. class DefaultAtmosphereServiceConfig[ServerRPCType] extends AtmosphereServiceConfig[ServerRPCType] with LazyLogging

    Permalink

    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.

  11. class DefaultClientRPC[ClientRPCType] extends ClientRPC[ClientRPCType]

    Permalink

    Default implementation of io.udash.rpc.ClientRPC for server to client communication.

  12. abstract class DefaultClientRpcCompanion[ClientRpc] extends ClientRpcCompanion[DefaultUdashSerialization, ClientRpc]

    Permalink
  13. class DefaultExposesServerRPC[ServerRPCType] extends ExposesServerRPC[ServerRPCType]

    Permalink
  14. abstract class DefaultServerRpcCompanion[ServerRpc] extends ServerRpcCompanion[DefaultUdashSerialization, ServerRpc]

    Permalink
  15. trait ExposesLocalRPC[T] extends AnyRef

    Permalink

    Base trait for anything that exposes some RPC interface.

  16. abstract class ExposesServerRPC[ServerRPCType] extends ExposesLocalRPC[ServerRPCType]

    Permalink
  17. type FileDownloadServlet = rpc.utils.FileDownloadServlet

    Permalink
    Definition Classes
    RPCBackend
  18. type FileUploadServlet = rpc.utils.FileUploadServlet

    Permalink
    Definition Classes
    RPCBackend
  19. case class GetterMethod[T](resultMetadata: ServerRpcMetadata.Lazy[T]) extends TypedMetadata[T] with Product with Serializable

    Permalink
    Annotations
    @allowIncomplete()
  20. final case class JsonStr(json: String) extends AnyVal with Product with Serializable

    Permalink
  21. case class LoggedMethod[T](name: String) extends TypedMetadata[T] with Product with Serializable

    Permalink
    Annotations
    @allowIncomplete()
  22. trait RPCBackend extends AnyRef

    Permalink
  23. trait RawRpc[Self <: RawRpc[Self]] extends AnyRef

    Permalink
  24. case class RpcCall(invocation: RpcInvocation, gettersChain: List[RpcInvocation], callId: String) extends RpcRequest with Product with Serializable

    Permalink

    RpcRequest which returns some value.

  25. case class RpcFailure(remoteCause: String, remoteMessage: String) extends Exception with Product with Serializable

    Permalink
  26. case class RpcFire(invocation: RpcInvocation, gettersChain: List[RpcInvocation]) extends RpcRequest with RpcServerMessage with Product with Serializable

    Permalink

    RpcRequest which returns Unit.

  27. case class RpcInvocation(rpcName: String, args: List[JsonStr]) extends Product with Serializable

    Permalink
  28. sealed trait RpcRequest extends AnyRef

    Permalink
  29. sealed trait RpcResponse extends RpcServerMessage

    Permalink
  30. case class RpcResponseException(name: String, exception: Throwable, callId: String) extends RpcResponse with Product with Serializable

    Permalink

    Message reporting exception from RpcCall.

  31. case class RpcResponseFailure(cause: String, errorMsg: String, callId: String) extends RpcResponse with Product with Serializable

    Permalink

    Message reporting failure of RpcCall.

  32. case class RpcResponseSuccess(response: JsonStr, callId: String) extends RpcResponse with Product with Serializable

    Permalink

    Message containing response for RpcCall.

  33. sealed trait RpcServerMessage extends AnyRef

    Permalink
  34. class RpcServlet extends HttpServlet

    Permalink

    Servlet for RPC endpoint.

  35. trait ServerRawRpc extends RawRpc[ServerRawRpc]

    Permalink
  36. abstract class ServerRpcCompanion[Serialization, ServerRpc] extends AnyRef

    Permalink
  37. trait ServerRpcInstances[T] extends AnyRef

    Permalink
  38. case class ServerRpcMetadata[T](name: String, getters: Map[String, GetterMethod[_]], loggedMethods: Map[String, LoggedMethod[_]]) extends Product with Serializable

    Permalink
    Annotations
    @allowIncomplete()
  39. trait UsesRemoteRPC[T] extends AnyRef

    Permalink

    Base trait for anything that uses remote RPC interface.

Inherited from RPCBackend

Inherited from AnyRef

Inherited from Any

Ungrouped