rpc4s
rpc4s
io.github.liewhite.rpc4s
AbstractEndpoint
Api
ClusterEndpoint
ClusterWorkerPoolEndpoint
EndpointStatus
Exit
LocalEndpoint
NodeA
NodeB
NodeC
NodeD
Req
RequestWrapper
RequestWrapper
Res
ResponseWithStatus
ResponseWrapper
ResponseWrapper
RpcMain
Same
Timeout
WorkerPool
main
rpc4s
/
io.github.liewhite.rpc4s
/
ClusterEndpoint
ClusterEndpoint
abstract
class
ClusterEndpoint
[
I
,
O
](
name:
String
,
val
role:
String
)(
implicit
evidence$1:
ClassTag
[
I
],
evidence$2:
Encoder
[
I
],
evidence$3:
Decoder
[
I
],
evidence$4:
Encoder
[
O
],
evidence$5:
Decoder
[
O
])
extends
AbstractEndpoint
[
I
,
O
]
Graph
Supertypes
Known subtypes
class
AbstractEndpoint
[
I
,
O
]
class
Object
trait
Matchable
class
Any
class
Api
class
ClusterWorkerPoolEndpoint
[
I
,
O
]
class
WorkerPool
Value members
Value members
Concrete methods
def
call
(
system:
ActorSystem
[
_
],
entityId:
String
,
i:
I
,
timeout:
Duration
):
Future
[
O
]
def
callJson
(
system:
ActorSystem
[
_
],
entityId:
String
,
i:
Json
,
timeout:
Duration
):
Future
[
O
]
def
declareEntity
(
system:
ActorSystem
[
_
]):
ActorRef
[
ShardingEnvelope
[
String
]]
def
listen
(
system:
ActorSystem
[
_
]):
Unit
def
tell
(
system:
ActorSystem
[
_
],
entityId:
String
,
i:
I
):
Unit
def
tellJson
(
system:
ActorSystem
[
_
],
entityId:
String
,
i:
Json
):
Unit
Inherited methods
def
handler
(
ctx:
ActorSystem
[
_
],
i:
I
,
entityId:
Option
[
String
]):
ResponseWithStatus
[
O
]
Inherited from:
AbstractEndpoint
Concrete fields
val
role
:
String
val
typeKey
:
EntityTypeKey
[
String
]