Code example for LinkedBlockingQueue

Methods: add

0
     * Add a digit to the dtmfQueue. 
     *  
     * @param digit 
     */ 
    public void appendDtmfQueue(String digit) {
        m_dtmfQueue.add(digit);
    } 
 
    /** 
     * Parse the initial response from "connect" into name/value pairs. Store in the variables 
     * list. 
     *  
     * @param vars 
     */ 
    public void setVariables(Vector<String> vars) {
        m_variables = FreeSwitchEvent.parseHeaders(vars);
    } 
 
    /** 
     * Return a particular variable in the variables list. 
     *