Api

class Api(system: ActorSystem[_]) extends ClusterEndpoint[Req, Res]
class Object
trait Matchable
class Any

Value members

Concrete methods

def handler(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
protected def handlerBehavior(system: ActorSystem[_]): Receive[String]
Inherited from:
AbstractEndpoint
def responseFromStringFuture(system: ActorSystem[_], result: Future[String], endpointName: String): Future[O]
Inherited from:
AbstractEndpoint
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