Asterisk-Java

org.asteriskjava.live
Interface AsteriskQueueListener


public interface AsteriskQueueListener

You can register an AsteriskQueueListener with an AsteriskQueue to be notified about new calls in and out of the queue

Since:
0.3
Author:
gmi

Method Summary
 void onEntryLeave(AsteriskChannel channel)
          Called whenever a channel (entry) leaves the queue
 void onNewEntry(AsteriskChannel channel)
          Called whenever a new channel (entry) appears in the queue
 

Method Detail

onNewEntry

void onNewEntry(AsteriskChannel channel)
Called whenever a new channel (entry) appears in the queue

Parameters:
channel - the new channel.

onEntryLeave

void onEntryLeave(AsteriskChannel channel)
Called whenever a channel (entry) leaves the queue

Parameters:
the - channel that leaves the queue.

Asterisk-Java

Copyright © 2004-2007 Stefan Reuter. All Rights Reserved.