blob: 27e4a65b96f23b5a4c3130921f9a848299bbd873 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.jdisc.client;
import com.yahoo.jdisc.application.Application;
/**
* <p>This interface extends the {@link Application} interface, and is intended to be used with the {@link ClientDriver}
* to implement stand-alone client applications on top of jDISC. The difference from Application is that this interface
* provides a {@link Runnable#run()} method that will be invoked once the Application has been created and {@link
* Application#start() started}. When run() returns, the {@link ClientDriver} will initiate Application shutdown.</p>
*
* @author <a href="mailto:simon@yahoo-inc.com">Simon Thoresen</a>
*/
public interface ClientApplication extends Application, Runnable {
}
|