class CompileSocket extends CompileOutputCommon
This class manages sockets for the fsc offline compiler.
- Source
- CompileSocket.scala
- Alphabetic
- By Inheritance
- CompileSocket
- CompileOutputCommon
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new CompileSocket()
Value Members
-
def
deletePort(port: Int): Boolean
Delete the port number to which a scala compile server was connected
-
def
echo(msg: String): Unit
- Definition Classes
- CompileOutputCommon
-
def
fatal(msg: String): Nothing
- Definition Classes
- CompileOutputCommon
- var fixPort: Int
-
def
getOrCreateSocket(vmArgs: String, create: Boolean = true, fixedPort: Int = 0): Option[Socket]
Get a socket connected to a daemon.
Get a socket connected to a daemon. If create is true, then create a new daemon if necessary. Returns None if the connection cannot be established.
- def getPassword(port: Int): String
-
def
getPort(vmArgs: String): Int
Get the port number to which a scala compile server is connected; If no server is running yet, then create one.
- def getSocket(hostName: String, port: Int): Option[Socket]
- def getSocket(serverAdr: String): Option[Socket]
-
def
info(msg: String): Unit
- Definition Classes
- CompileOutputCommon
- def parseInt(x: String): Option[Int]
-
def
portFile(port: Int): File
The port identification file
- val portsDir: Directory
-
def
setPort(port: Int): Unit
Set the port number to which a scala compile server is connected
-
val
tmpDir: Directory
A temporary directory to use
-
def
verbose: Boolean
- Definition Classes
- CompileSocket → CompileOutputCommon
-
def
warn(msg: String): Unit
- Definition Classes
- CompileOutputCommon
The Scala compiler and reflection APIs.