Search in sources :

Example 1 with KotlinEvaluator

use of com.twosigma.beakerx.kotlin.evaluator.KotlinEvaluator in project beakerx by twosigma.

the class Kotlin method main.

public static void main(final String[] args) throws InterruptedException, IOException {
    KernelRunner.run(() -> {
        String id = uuid();
        KotlinEvaluator e = new KotlinEvaluator(id, id, getKernelParameters());
        KernelSocketsFactoryImpl kernelSocketsFactory = new KernelSocketsFactoryImpl(new KernelConfigurationFile(args));
        return new Kotlin(id, e, kernelSocketsFactory);
    });
}
Also used : KernelConfigurationFile(com.twosigma.beakerx.kernel.KernelConfigurationFile) KotlinEvaluator(com.twosigma.beakerx.kotlin.evaluator.KotlinEvaluator) KernelSocketsFactoryImpl(com.twosigma.beakerx.kernel.KernelSocketsFactoryImpl)

Aggregations

KernelConfigurationFile (com.twosigma.beakerx.kernel.KernelConfigurationFile)1 KernelSocketsFactoryImpl (com.twosigma.beakerx.kernel.KernelSocketsFactoryImpl)1 KotlinEvaluator (com.twosigma.beakerx.kotlin.evaluator.KotlinEvaluator)1