SocketBasedPluginFrontend

nscn.polaris2.protoc.bridge.frontend.SocketBasedPluginFrontend
abstract class SocketBasedPluginFrontend extends PluginFrontend

Shared frontend for platforms where a loopback socket beats a FIFO.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Type members

Classlikes

case class InternalState(serverSocket: ServerSocket, shellScript: Path)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Abstract methods

protected def createShellScript(port: Int): Path

Concrete methods

override def cleanup(state: InternalState): Unit

Attributes

Definition Classes
override def prepare(plugin: ProtocCodeGenerator, env: ExtraEnv): (Path, InternalState)

Sets up the executable protoc should run, returning its path plus whatever state cleanup needs to tear it down.

Sets up the executable protoc should run, returning its path plus whatever state cleanup needs to tear it down.

Attributes

Definition Classes