All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.netcrusher.NetFreezer Maven / Gradle / Ivy

Go to download

NetCrusher is a TCP/UDP proxy that allows yout to test your services for failover

The newest version!
package org.netcrusher;

public interface NetFreezer {

    /**
     * Freezes all activity on the component. Sockets remain open
     * @see NetFreezer#unfreeze()
     * @see NetFreezer#isFrozen()
     */
    void freeze();

    /**
     * Unfreezes activity on component
     * @see NetFreezer#freeze()
     * @see NetFreezer#isFrozen()
     */
    void unfreeze();

    /**
     * Checks is the component frozen
     * @return Return true if the crusher is frozen (or is closed)
     * @throws IllegalStateException Throwed if the component is not open
     * @see NetFreezer#freeze()
     * @see NetFreezer#unfreeze()
     */
    boolean isFrozen();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy