tigase.workgroupqueues.scheduler

## Class DummyScheduler

- java.lang.Object
- - tigase.workgroupqueues.scheduler.DummyScheduler

- All Implemented Interfaces:
    Scheduler

      @Bean(name="Scheduler",
            active=true)
      public class DummyScheduler
      extends Object
      implements Scheduler

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DummyScheduler()`

  - ### Method Summary

    All Methods Instance Methods Concrete 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.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DummyScheduler

          public DummyScheduler()

  - ### Method Detail

    - #### getBestAgent

          public Agent getBestAgent(Queue queue,
                                    User user)

      Description copied from interface: `Scheduler`
      Returns agent to handle user.
      Specified by:
        `getBestAgent` in interface `Scheduler`
      Parameters:
        `queue` - queue.
        `user` - user to be handled
      Returns:
        agent.

    - #### onUserJoinedQueue

          public void onUserJoinedQueue(Queue queue,
                                        User user)

      Description copied from interface: `Scheduler`
      Callback method. Called when new user join to queue.
      Specified by:
        `onUserJoinedQueue` in interface `Scheduler`
      Parameters:
        `queue` - queue.
        `user` - user joined to queue.

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