LocalApi

class LocalApi() extends LocalEndpoint[Req, Res]
class Object
trait Matchable
class Any

Value members

Concrete methods

override def localHandle(ctx: ActorContext[_], i: Req): ResponseWithStatus[Res]
Definition Classes

Inherited methods

def call(ctx: ActorContext[_], i: Req, timeout: Duration, customeRequestId: Option[String]): Future[Try[O]]
Inherited from:
LocalEndpoint
def callJson(ctx: ActorContext[_], i: Json, timeout: Duration, customeRequestId: Option[String]): Future[Try[O]]
Inherited from:
LocalEndpoint
def clientInit(ctx: ActorContext[_]): AbstractEndpoint.this.type
Inherited from:
AbstractEndpoint
def prepareRequest(requestId: String, timeout: Duration): Promise[Try[O]]
Inherited from:
AbstractEndpoint
def requestIdFromOption(requestId: Option[String]): String
Inherited from:
AbstractEndpoint
def startLocal(ctx: ActorContext[_]): LocalEndpoint.this.type
Inherited from:
LocalEndpoint
def tell(ctx: ActorContext[_], i: Req, customeRequestId: Option[String]): Unit
Inherited from:
LocalEndpoint
def tellJson(ctx: ActorContext[_], i: Json, customeRequestId: Option[String]): Unit
Inherited from:
LocalEndpoint

Inherited fields

var callable: Boolean
Inherited from:
AbstractEndpoint
protected var callbackActor: ActorRef[String]
Inherited from:
AbstractEndpoint
protected val requests: TrieMap[String, (ZonedDateTime, Promise[Try[Res]])]
Inherited from:
AbstractEndpoint