Packages

class CompileSocket extends CompileOutputCommon

This class manages sockets for the fsc offline compiler.

Source
CompileSocket.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CompileSocket
  2. CompileOutputCommon
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CompileSocket()

Value Members

  1. def deletePort(port: Int): Boolean

    Delete the port number to which a scala compile server was connected

  2. def echo(msg: String): Unit
    Definition Classes
    CompileOutputCommon
  3. def fatal(msg: String): Nothing
    Definition Classes
    CompileOutputCommon
  4. var fixPort: Int
  5. 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.

  6. def getPassword(port: Int): String
  7. 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.

  8. def getSocket(hostName: String, port: Int): Option[Socket]
  9. def getSocket(serverAdr: String): Option[Socket]
  10. def info(msg: String): Unit
    Definition Classes
    CompileOutputCommon
  11. def parseInt(x: String): Option[Int]
  12. def portFile(port: Int): File

    The port identification file

  13. val portsDir: Directory
  14. def setPort(port: Int): Unit

    Set the port number to which a scala compile server is connected

  15. val tmpDir: Directory

    A temporary directory to use

  16. def verbose: Boolean
    Definition Classes
    CompileSocketCompileOutputCommon
  17. def warn(msg: String): Unit
    Definition Classes
    CompileOutputCommon