Packages

class CompileSocket extends CompileOutputCommon

This class manages sockets for the fsc offline compiler.

Source
CompileSocket.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
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. Protected

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 mkDaemonDir(name: String): Directory
  12. def portFile(port: Int): File

    The port identification file

  13. def setPort(port: Int): Unit

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

  14. def verbose: Boolean
    Definition Classes
    CompileSocketCompileOutputCommon
  15. def verbose_=(v: Boolean): Unit
  16. def warn(msg: String): Unit
    Definition Classes
    CompileOutputCommon