rpc4s
rpc4s
io.github.liewhite.rpc4s
AbstractEndpoint
Api
ClusterConfig
ClusterEndpoint
ClusterNode
ClusterWorkerPoolEndpoint
EndpointStatus
Exit
LocalApi
LocalEndpoint
NodeA
NodeB
NodeC
NodeD
Req
RequestWrapper
RequestWrapper
Res
ResponseWithStatus
ResponseWrapper
ResponseWrapper
Same
Timeout
WorkerPool
main
rpc4s
/
io.github.liewhite.rpc4s
/
WorkerPool
WorkerPool
class
WorkerPool
()
extends
ClusterWorkerPoolEndpoint
[
Req
,
Res
]
Graph
Supertypes
class
ClusterWorkerPoolEndpoint
[
Req
,
Res
]
class
ClusterEndpoint
[
Req
,
Res
]
class
AbstractEndpoint
[
Req
,
Res
]
class
Object
trait
Matchable
class
Any
Value members
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
callWorker
(
system:
ActorSystem
[
_
],
i:
Req
,
timeout:
Duration
):
Future
[
O
]
Inherited from:
ClusterWorkerPoolEndpoint
def
callWorkerJson
(
system:
ActorSystem
[
_
],
i:
Json
,
timeout:
Duration
):
Future
[
O
]
Inherited from:
ClusterWorkerPoolEndpoint
def
entityIdFromReq
(
i:
Object
):
String
Inherited from:
ClusterWorkerPoolEndpoint
protected
def
handlerBehavior
(
system:
ActorSystem
[
_
]):
Receive
[
String
]
Inherited from:
AbstractEndpoint
def
init
(
system:
ActorSystem
[
_
]):
Unit
Inherited from:
ClusterEndpoint
def
listen
(
system:
ActorSystem
[
_
]):
Unit
Inherited from:
ClusterEndpoint
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
def
tellWorker
(
system:
ActorSystem
[
_
],
i:
Req
,
customeRequestId:
Option
[
String
]):
Unit
Inherited from:
ClusterWorkerPoolEndpoint
def
tellWorkerJson
(
system:
ActorSystem
[
_
],
i:
Json
,
customeRequestId:
Option
[
String
]):
Unit
Inherited from:
ClusterWorkerPoolEndpoint
Inherited fields
val
name
:
String
Inherited from:
AbstractEndpoint
val
role
:
String
Inherited from:
ClusterEndpoint
val
typeKey
:
EntityTypeKey
[
String
]
Inherited from:
ClusterEndpoint