Class HttpSelfRegistration
java.lang.Object
io.agentscope.extensions.aistio.transport.HttpSelfRegistration
- All Implemented Interfaces:
AutoCloseable
v5 external-application registration against aistiod:
POST /api/v1/agent-registrations + periodic instance heartbeats.
The control plane then polls this instance's /agentscope/* contract at
baseUrl. Failures are swallowed and retried — registration must never disturb the agent.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordStable identity returned by the Catalog registration transaction. -
Constructor Summary
ConstructorsConstructorDescriptionHttpSelfRegistration(String controlPlaneHttp, String internalToken, String registrationCredential, String agentKey, String tenant, String namespace, String instanceKey, String baseUrl, String runtime, String framework, int contractLevel, List<String> capabilities, long heartbeatIntervalMs) -
Method Summary
-
Constructor Details
-
HttpSelfRegistration
-
-
Method Details
-
start
public void start() -
identity
Returns the last successfully registered stable identity, ornull. -
setIdentityListener
Receives every successfully refreshed identity, including generation changes. -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-