tigase.workgroupqueues.scheduler

## Interface Scheduler

- All Known Implementing Classes:
    DummyScheduler

      public interface Scheduler

  Interface for scheduler.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Agent` | `getBestAgent(Queue queue, User user)` Returns agent to handle user.
    `void` | `onUserJoinedQueue(Queue queue, User user)` Callback method.

- - ### Method Detail

    - #### getBestAgent

          Agent getBestAgent(Queue queue,
                             User user)

      Returns agent to handle user.
      Parameters:
        `queue` - queue.
        `user` - user to be handled
      Returns:
        agent.

    - #### onUserJoinedQueue

          void onUserJoinedQueue(Queue queue,
                                 User user)

      Callback method. Called when new user join to queue.
      Parameters:
        `queue` - queue.
        `user` - user joined to queue.

Copyright © 2004–2021 "Tigase, Inc.". All rights reserved.