mil.dod.th.ose.gui.integration/src/mil/dod/th/ose/gui/integration/helpers/ChannelsHelper.java
public static void removeSocketChannel(final WebDriver driver, final String host, final String port,
            final boolean checkNoActiveControllerMsg) 
        throws InterruptedException, ExecutionException, TimeoutException
    {
        removeSocketChannel(driver, ControllerHelper.getControllerId(), 
                ControllerHelper.getControllerName(), host, port, checkNoActiveControllerMsg);
    }
/**
     * Function to remove a socket channel based on the default controller id and controller name and
     * a specified host name and port. Assumes currently on the channels page.
     * 
     * Will wait for the channel removed message and optionally the no active controller message.
     * 
     * @param driver
     *  the web driver performing the test
     * @param host
     *  the host name of the socket that is to be removed
     * @param port
     *  the port of the socket that is to be removed
     * @param checkNoActiveControllerMsg
     *  whether to check for the No active controller growl message in addition to the channel remove message.
     */
Function to remove a socket channel based on the default controller id and controller name and
a specified host name and port. Assumes currently on the channels page.

Will wait for the channel removed message and optionally the no active controller message.

@param driver
the web driver performing the test
@param host
the host name of the socket that is to be removed
@param port
the port of the socket that is to be removed
@param checkNoActiveControllerMsg
whether to check for the No active controller growl message in addition to the channel remove message.
Function to remove a socket channel based on the default controller id and controller name and a specified host name and port . Assumes currently on the channels page . Will wait for the channel removed message and optionally the no active controller message . @param driver the web driver performing the test @param host the host name of the socket that is to be removed @param port the port of the socket that is to be removed @param checkNoActiveControllerMsg whether to check for the No active controller growl message in addition to the channel remove message .
public static void removeSocketChannel(final WebDriver driver, final String host, final String port,
            final boolean checkNoActiveControllerMsg) 
        throws InterruptedException, ExecutionException, TimeoutException
    {
        removeSocketChannel(driver, ControllerHelper.getControllerId(), 
                ControllerHelper.getControllerName(), host, port, checkNoActiveControllerMsg);
    }
public static void removeSocketChannel ( final WebDriver driver , final String host , final String port , final boolean checkNoActiveControllerMsg ) throws InterruptedException , ExecutionException , TimeoutException { removeSocketChannel ( driver , ControllerHelper . getControllerId ( ) , ControllerHelper . getControllerName ( ) , host , port , checkNoActiveControllerMsg ) ; }
Function to remove a socket channel based on the default controller id and controller name and
 a specified host name and port.
Function to remove a socket channel based on the default controller id and controller name and a specified host name and port .