-
- All Implemented Interfaces:
-
app.perawallet.walletconnectv2.internal.common.json_rpc.domain.link_mode.LinkModeJsonRpcInteractorInterface,app.perawallet.walletconnectv2.internal.common.model.type.JsonRpcInteractorInterface
public final class LinkModeJsonRpcInteractor implements LinkModeJsonRpcInteractorInterface
-
-
Field Summary
Fields Modifier and Type Field Description private final SharedFlow<WCRequest>clientSyncJsonRpcprivate final SharedFlow<WCResponse>peerResponseprivate final SharedFlow<SDKError>internalErrors
-
Constructor Summary
Constructors Constructor Description LinkModeJsonRpcInteractor(Codec chaChaPolyCodec, JsonRpcHistory jsonRpcHistory, Context context)
-
Method Summary
Modifier and Type Method Description SharedFlow<WCRequest>getClientSyncJsonRpc()SharedFlow<WCResponse>getPeerResponse()SharedFlow<SDKError>getInternalErrors()UnittriggerRequest(JsonRpcClientSync<?> payload, Topic topic, String appLink, EnvelopeType envelopeType)UnittriggerResponse(Topic topic, JsonRpcResponse response, String appLink, Participants participants, EnvelopeType envelopeType)UnitdispatchEnvelope(String url)-
-
Constructor Detail
-
LinkModeJsonRpcInteractor
LinkModeJsonRpcInteractor(Codec chaChaPolyCodec, JsonRpcHistory jsonRpcHistory, Context context)
-
-
Method Detail
-
getClientSyncJsonRpc
SharedFlow<WCRequest> getClientSyncJsonRpc()
-
getPeerResponse
SharedFlow<WCResponse> getPeerResponse()
-
getInternalErrors
SharedFlow<SDKError> getInternalErrors()
-
triggerRequest
Unit triggerRequest(JsonRpcClientSync<?> payload, Topic topic, String appLink, EnvelopeType envelopeType)
-
triggerResponse
Unit triggerResponse(Topic topic, JsonRpcResponse response, String appLink, Participants participants, EnvelopeType envelopeType)
-
dispatchEnvelope
Unit dispatchEnvelope(String url)
-
-
-
-