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

donky.microsoft.aspnet.signalr.client.http.java.NetworkThread Maven / Gradle / Ivy

There is a newer version: 2.7.0.3
Show newest version
/*
Copyright (c) Microsoft Open Technologies, Inc.
All Rights Reserved
See License.txt in the project root for license information.
*/

package donky.microsoft.aspnet.signalr.client.http.java;

/**
 * A thread that can release resources when stopped
 */
abstract class NetworkThread extends Thread {

    /**
     * Initializes the NetworkThread
     * 
     * @param target
     *            runnable to execute
     */
    public NetworkThread(Runnable target) {
        super(target);
    }

    /**
     * Releases resources and stops the thread
     */
    abstract void releaseAndStop();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy