AS AgentScopeAPI 手册 / API Reference

DeploymentProperties

public record DeploymentProperties(String host, int port, String path)
源码Source io/agentscope/core/a2a/server/transport/DeploymentProperties.java:30–80

承载部署属性数据的记录类型。位于 io.agentscope.core.a2a.server.transport 包。核心成员包括 host、port、path。

Some deployment relative properties, such as server default export port and host and path.

When developers don't specified target TransportProperties, and want to use default transport, developers should create this class and input port at least to make sure AgentScope can generate the url for default transport.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
hostString
执行 `host` 方法。
Performs the host operation.
portint
执行 `port` 方法。
Performs the port operation.
pathString
执行路径相关操作。
Performs the path operation.

嵌套类摘要Nested Class Summary

类Class类型Kind说明Description
Builder类class
构建器,用于构建并配置目标实例。
A class in io.agentscope.core.a2a.server.transport that supports discovery, delegation and collaboration between agents.

记录组件详情Record Component Detail

host

String host

执行 host 方法。

Performs the host operation.

源码Source io/agentscope/core/a2a/server/transport/DeploymentProperties.java:30–80

port

int port

执行 port 方法。

Performs the port operation.

源码Source io/agentscope/core/a2a/server/transport/DeploymentProperties.java:30–80

path

String path

执行路径相关操作。

Performs the path operation.

源码Source io/agentscope/core/a2a/server/transport/DeploymentProperties.java:30–80

嵌套类详情Nested Class Detail

Builder

public static class Builder

构建器,用于构建并配置目标实例。位于 io.agentscope.core.a2a.server.transport 包。核心成员包括 host、port、path、build。

A class in io.agentscope.core.a2a.server.transport that supports discovery, delegation and collaboration between agents. Declared in io.agentscope.core.a2a.server.transport.

基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.