Class ServerAgent
java.lang.Object
com.mulesoft.connectors.a2a.internal.server.agent.ServerAgent
-
Constructor Summary
ConstructorsConstructorDescriptionServerAgent(org.mule.runtime.http.api.server.HttpServer httpServer, String path, JsonRpcSerializer serializer, A2AProtocolSerializer messageSerializer, org.mule.runtime.api.lock.LockFactory lockFactory, org.mule.runtime.api.store.ObjectStoreManager objectStoreManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTracingData(RpcRequestContext context, org.mule.sdk.api.runtime.source.DistributedTraceContextManager traceManager) getCard()getPath()voidinitServer(ServerConfig config, org.mule.runtime.api.component.location.ComponentLocation listenerComponentLocation, Consumer<RpcRequestContext> onRequest) voidstop()
-
Constructor Details
-
ServerAgent
public ServerAgent(org.mule.runtime.http.api.server.HttpServer httpServer, String path, JsonRpcSerializer serializer, A2AProtocolSerializer messageSerializer, org.mule.runtime.api.lock.LockFactory lockFactory, org.mule.runtime.api.store.ObjectStoreManager objectStoreManager)
-
-
Method Details
-
initServer
public void initServer(ServerConfig config, org.mule.runtime.api.component.location.ComponentLocation listenerComponentLocation, Consumer<RpcRequestContext> onRequest) -
addTracingData
public void addTracingData(RpcRequestContext context, org.mule.sdk.api.runtime.source.DistributedTraceContextManager traceManager) -
stop
public void stop() -
getCard
-
getPath
-