Package io.quarkus.devui.runtime.comms
Class JsonRpcRouter
- java.lang.Object
-
- io.quarkus.devui.runtime.comms.JsonRpcRouter
-
public class JsonRpcRouter extends Object
Route JsonRPC message to the correct method
-
-
Field Summary
Fields Modifier and Type Field Description (package private) org.jboss.logging.Loggerlogger
-
Constructor Summary
Constructors Constructor Description JsonRpcRouter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSocket(io.vertx.core.http.ServerWebSocket socket)voidinitializeCodec(JsonMapper jsonMapper)(package private) voidonStart(StartupEvent ev)voidpopulateJsonRPCMethods(Map<String,Map<JsonRpcMethodName,JsonRpcMethod>> extensionMethodsMap)This gets called on build to build into of the classes we are going to call in runtime
-
-
-
Method Detail
-
populateJsonRPCMethods
public void populateJsonRPCMethods(Map<String,Map<JsonRpcMethodName,JsonRpcMethod>> extensionMethodsMap)
This gets called on build to build into of the classes we are going to call in runtime- Parameters:
extensionMethodsMap-
-
initializeCodec
public void initializeCodec(JsonMapper jsonMapper)
-
addSocket
public void addSocket(io.vertx.core.http.ServerWebSocket socket)
-
onStart
void onStart(@Observes StartupEvent ev)
-
-