WindowsPluginFrontend

nscn.polaris2.protoc.bridge.frontend.WindowsPluginFrontend

Frontend for Windows: a server socket plus a .bat that starts BridgeApp.

Windows has neither FIFOs nor a guaranteed nc, so the forwarder is a second JVM launched from the same java.home with only this jar on its classpath.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited classlikes

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

Attributes

Inherited from:
SocketBasedPluginFrontend
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Inherited methods

override def cleanup(state: InternalState): Unit

Attributes

Definition Classes
Inherited from:
SocketBasedPluginFrontend
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
Inherited from:
SocketBasedPluginFrontend