BaseClientStarter
public abstract class BaseClientStarter
源码Source
io/agentscope/runtime/sandbox/manager/client/container/BaseClientStarter.java:22–34基类客户端启动器,承载智能体的部署、调度与服务化运行。位于 io.agentscope.runtime.sandbox.manager.client.container 包。核心成员包括 getContainerClientType、startClient、BaseClientStarter。
A class in io.agentscope.runtime.sandbox.manager.client.container that deploys, schedules and serves agents. Declared in io.agentscope.runtime.sandbox.manager.client.container.
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public BaseClientStarter(ContainerClientType containerClientType) | 初始化 `BaseClientStarter` 实例。 Creates a new instance. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public ContainerClientType getContainerClientType() | 获取容器客户端类型。 Returns the container client type. |
public abstract BaseClient startClient(PortManager portManager)abstract | 启动客户端。 Starts the client. |
构造器详情Constructor Detail
BaseClientStarter
public BaseClientStarter(ContainerClientType containerClientType)
初始化 BaseClientStarter 实例。
Creates a new instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
containerClientType | ContainerClientType | 容器客户端类型(类型 `ContainerClientType`)。The container client type. |
源码Source
io/agentscope/runtime/sandbox/manager/client/container/BaseClientStarter.java:29–31方法详情Method Detail
getContainerClientType
public ContainerClientType getContainerClientType()
获取容器客户端类型。
Returns the container client type.
ContainerClientType返回ContainerClientType。Returns container client type.
源码Source
io/agentscope/runtime/sandbox/manager/client/container/BaseClientStarter.java:25–27startClient
public abstract BaseClient startClient(PortManager portManager)
abstract
启动客户端。
Starts the client.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
portManager | PortManager | port 管理器(类型 `PortManager`)。The port manager. |
BaseClient返回BaseClient。Returns base client.
源码Source
io/agentscope/runtime/sandbox/manager/client/container/BaseClientStarter.java:33