Package tigase.workgroupqueues.scheduler

# Interface Scheduler

All Known Implementing Classes:
  `DummyScheduler`

public interface Scheduler
Interface for scheduler.

- ## Method Summary

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

- ## Method Details

  - ### 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.