DeploymentProperties
public record DeploymentProperties(String host, int port, String path)
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 |
|---|---|---|
host | String | 执行 `host` 方法。 Performs the host operation. |
port | int | 执行 `port` 方法。 Performs the port operation. |
path | String | 执行路径相关操作。 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.
io/agentscope/core/a2a/server/transport/DeploymentProperties.java:30–80port
int port执行 port 方法。
Performs the port operation.
io/agentscope/core/a2a/server/transport/DeploymentProperties.java:30–80path
String path执行路径相关操作。
Performs the path operation.
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.