BaseClientConfig
public class BaseClientConfig
源码Source
io/agentscope/runtime/sandbox/manager/client/config/BaseClientConfig.java:21–39基类客户端配置,保存相关配置项。位于 io.agentscope.runtime.sandbox.manager.client.config 包。核心成员包括 getClientType、setClientType、BaseClientConfig。
A class in io.agentscope.runtime.sandbox.manager.client.config that deploys, schedules and serves agents. Declared in io.agentscope.runtime.sandbox.manager.client.config.
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public BaseClientConfig() | 初始化 `BaseClientConfig` 实例。 Creates a new instance. |
public BaseClientConfig(ContainerManagerType clientType) | 初始化 `BaseClientConfig` 实例。 Creates a new instance. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public ContainerManagerType getClientType() | 获取客户端类型。 Returns the client type. |
public void setClientType(ContainerManagerType clientType) | 设置客户端类型。 Sets the client type. |
构造器详情Constructor Detail
BaseClientConfig
public BaseClientConfig()
初始化 BaseClientConfig 实例。
Creates a new instance.
源码Source
io/agentscope/runtime/sandbox/manager/client/config/BaseClientConfig.java:24–26BaseClientConfig
public BaseClientConfig(ContainerManagerType clientType)
初始化 BaseClientConfig 实例。
Creates a new instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
clientType | ContainerManagerType | 客户端类型(类型 `ContainerManagerType`)。The client type. |
源码Source
io/agentscope/runtime/sandbox/manager/client/config/BaseClientConfig.java:28–30方法详情Method Detail
getClientType
public ContainerManagerType getClientType()
获取客户端类型。
Returns the client type.
ContainerManagerType返回ContainerManagerType。Returns container manager type.
源码Source
io/agentscope/runtime/sandbox/manager/client/config/BaseClientConfig.java:32–34setClientType
public void setClientType(ContainerManagerType clientType)
设置客户端类型。
Sets the client type.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
clientType | ContainerManagerType | 客户端类型(类型 `ContainerManagerType`)。The client type. |
源码Source
io/agentscope/runtime/sandbox/manager/client/config/BaseClientConfig.java:36–38