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

org.jetbrains.kotlinx.jupyter.repl.creating.MockJupyterConnection.kt Maven / Gradle / Ivy

There is a newer version: 0.12.0-356
Show newest version
package org.jetbrains.kotlinx.jupyter.repl.creating

import org.jetbrains.kotlinx.jupyter.JupyterExecutor
import org.jetbrains.kotlinx.jupyter.api.libraries.JupyterSocketType
import org.jetbrains.kotlinx.jupyter.api.libraries.RawMessage
import org.jetbrains.kotlinx.jupyter.api.libraries.RawMessageCallback
import org.jetbrains.kotlinx.jupyter.messaging.JupyterConnectionInternal
import org.jetbrains.kotlinx.jupyter.messaging.JupyterSocketManager
import org.jetbrains.kotlinx.jupyter.messaging.MessageFactory
import org.jetbrains.kotlinx.jupyter.startup.KernelConfig
import java.io.InputStream

object MockJupyterConnection : JupyterConnectionInternal {
    override val config: KernelConfig
        get() = throw NotImplementedError()
    override val socketManager: JupyterSocketManager
        get() = throw NotImplementedError()
    override val messageFactory: MessageFactory
        get() = throw NotImplementedError()

    override val executor: JupyterExecutor
        get() = throw NotImplementedError()
    override val stdinIn: InputStream
        get() = throw NotImplementedError()

    override fun addMessageCallback(callback: RawMessageCallback): RawMessageCallback {
        throw NotImplementedError()
    }

    override fun removeMessageCallback(callback: RawMessageCallback) {
        throw NotImplementedError()
    }

    override fun send(socketName: JupyterSocketType, message: RawMessage) {
        throw NotImplementedError()
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy