com.voicent.webalert
Class BroadcastManager

java.lang.Object
  extended bycom.voicent.webalert.BroadcastManager

public class BroadcastManager
extends java.lang.Object


Method Summary
 int getCallsFailed()
          get current total calls failed
 int getCallsInprogress()
          get current total calls in progress
 int getCallsMade()
          get current total calls made
 int getCallsToBeMade()
          get current total calls to be made
static BroadcastManager getInstance()
          Get the singleton instance
static void main(java.lang.String[] args)
           
 void setCallList(java.lang.String filename)
          Set the current call list
 boolean startBroadcast(java.lang.String notes)
          Start a background thread to manage calls
 boolean stopBroadcast()
          Stop broadcast
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static BroadcastManager getInstance()
Get the singleton instance


setCallList

public void setCallList(java.lang.String filename)
Set the current call list

Parameters:
filename - CSV file name of the call list

startBroadcast

public boolean startBroadcast(java.lang.String notes)
Start a background thread to manage calls

Parameters:
notes - alert message

stopBroadcast

public boolean stopBroadcast()
Stop broadcast


getCallsMade

public int getCallsMade()
get current total calls made


getCallsFailed

public int getCallsFailed()
get current total calls failed


getCallsInprogress

public int getCallsInprogress()
get current total calls in progress


getCallsToBeMade

public int getCallsToBeMade()
get current total calls to be made


main

public static void main(java.lang.String[] args)
                 throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException