Api

class Api extends ClusterEndpoint[Req, Res]
class Object
trait Matchable
class Any

Value members

Concrete methods

def handler(ctx: ActorSystem[_], i: Req, entityId: Option[String]): ResponseWithStatus[Res]

Inherited methods

def call(system: ActorSystem[_], entityId: String, i: Req, timeout: Duration): Future[O]
Inherited from:
ClusterEndpoint
def callJson(system: ActorSystem[_], entityId: String, i: Json, timeout: Duration): Future[O]
Inherited from:
ClusterEndpoint
def declareEntity(system: ActorSystem[_]): ActorRef[ShardingEnvelope[String]]
Inherited from:
ClusterEndpoint
def listen(system: ActorSystem[_]): Unit
Inherited from:
ClusterEndpoint
def tell(system: ActorSystem[_], entityId: String, i: Req): Unit
Inherited from:
ClusterEndpoint
def tellJson(system: ActorSystem[_], entityId: String, i: Json): Unit
Inherited from:
ClusterEndpoint

Inherited fields

val name: String
Inherited from:
AbstractEndpoint
val role: String
Inherited from:
ClusterEndpoint
val typeKey: EntityTypeKey[String]
Inherited from:
ClusterEndpoint