Class TeamWakeups

java.lang.Object
io.agentscope.harness.agent.team.TeamWakeups

public final class TeamWakeups extends Object
Bridge from TeamClient implementations to whatever runtime owns teammate sessions.

A TeamClient knows member names (lead, w1) but not runtime session ids, so it cannot wake a teammate on its own. The middleware that hosts the teammate registers a TeamWakeups.Hook here; clients then notify members without depending on the middleware package.

  • Method Details

    • register

      public static void register(TeamWakeups.Hook hook)
      Registers the process-wide wakeup hook.
    • wake

      public static boolean wake(String teamName, String memberName, String notice)
      Wakes memberName; returns false when no hook or no live session.