rpc4s
rpc4s
io.github.liewhite.rpc4s
AbstractEndpoint
ClusterApi
ClusterEndpoint
ClusterWorkerPoolEndpoint
LocalApi
LocalEndpoint
NodeA
NodeB
NodeC
NodeD
Req
RequestWrapper
RequestWrapper
Res
ResponseWithStatus
ResponseWrapper
ResponseWrapper
RpcMain
Timeout
WorkerPool
main
rpc4s
/
io.github.liewhite.rpc4s
/
LocalApi
LocalApi
class
LocalApi
()
extends
LocalEndpoint
[
Req
,
Res
]
Graph
Supertypes
class
LocalEndpoint
[
Req
,
Res
]
class
AbstractEndpoint
[
Req
,
Res
]
class
Object
trait
Matchable
class
Any
Value members
Value members
Concrete methods
override
def
localHandle
(
ctx:
ActorContext
[
_
],
i:
Req
):
ResponseWithStatus
[
Res
]
Definition Classes
LocalEndpoint
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