AS AgentScopeAPI 手册 / API Reference

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
containerClientTypeContainerClientType容器客户端类型(类型 `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.

返回Returns ContainerClientType
返回ContainerClientType。Returns container client type.
源码Source io/agentscope/runtime/sandbox/manager/client/container/BaseClientStarter.java:25–27

startClient

public abstract BaseClient startClient(PortManager portManager)
abstract

启动客户端。

Starts the client.

参数Parameters
名称Name类型Type说明Description
portManagerPortManagerport 管理器(类型 `PortManager`)。The port manager.
返回Returns BaseClient
返回BaseClient。Returns base client.
源码Source io/agentscope/runtime/sandbox/manager/client/container/BaseClientStarter.java:33
基于官方固定版本源码静态生成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.