rpc
rpc
API
liewhite.rpc
App
Broadcast
Endpoint
EndpointException
EndpointResponse
MessageReceipt
Ack
Nack
NoRoute
Response
NackException
NoRouteException
RpcClient
RpcClient
RpcException
RpcResponse
RpcServer
RpcServer
TestCli
TimeoutException
Transport
Transport
XX
rpc
/
liewhite.rpc
/
RpcClient
RpcClient
liewhite.rpc.RpcClient
See the
RpcClient
companion object
class
RpcClient
(
transport
:
Transport
,
publishLock
:
ReentrantLock
,
exchange
:
String
)
Attributes
Companion:
object
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
Object
trait
Matchable
class
Any
Clear all
Members list
Concise view
Value members
Concrete methods
def
call
(
route
:
String
,
message
:
String
,
mandatory
:
Boolean
,
props
:
BasicProperties
,
timeout
:
Duration
):
ZIO
[
Any
,
Throwable
,
RpcResponse
]
def
close
():
Try
[
Unit
]
def
nextTag
:
ZIO
[
Any
,
Nothing
,
Long
]
def
send
(
route
:
String
,
message
:
Array
[
Byte
],
mandatory
:
Boolean
,
props
:
BasicProperties
):
Task
[
Unit
]
def
start
():
ZIO
[
Any
,
Nothing
,
Runtime
[
Throwable
,
Long
]]
def
waitForResponse
(
tag
:
Long
):
Task
[
Delivery
]
Concrete fields
val
channel
:
Channel
val
requests
:
ConcurrentHashMap
[
Long
, (
String
,
Promise
[
RpcException
,
Delivery
])]