类 EventSource

java.lang.Object
io.agentscope.core.agent.EventSource

@Deprecated(since="2.0.0") public final class EventSource extends Object
已过时。
since 2.0.0. Used only by the v1 Event stream to attribute events to a spawned subagent. A subagent-source channel for the new io.agentscope.core.event.AgentEvent stream is on the v2 roadmap; once it lands, EventSource will be marked forRemoval = true.
  • 方法详细资料

    • builder

      public static EventSource.Builder builder()
      已过时。
    • withAppendedPath

      public EventSource withAppendedPath(String segment)
      已过时。
      Returns a new EventSource with path extended by segment, and depth incremented by one. All other fields are copied from this instance.
    • getAgentKey

      public String getAgentKey()
      已过时。
    • getAgentId

      public String getAgentId()
      已过时。
    • getAgentName

      public String getAgentName()
      已过时。
    • getSessionId

      public String getSessionId()
      已过时。
    • getParentSessionId

      public String getParentSessionId()
      已过时。
    • getTaskId

      public String getTaskId()
      已过时。
    • getDepth

      public int getDepth()
      已过时。
    • getPath

      public String getPath()
      已过时。
    • toString

      public String toString()
      已过时。
      覆盖:
      toString 在类中 Object