scala.tools.nsc

StandardCompileServer

class StandardCompileServer extends SocketServer

The server part of the fsc offline compiler. It awaits compilation commands and executes them. It caches a compiler instance so that it can respond more quickly.

Source
CompileServer.scala
Version

1.0

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. StandardCompileServer
  2. SocketServer
  3. CompileOutputCommon
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StandardCompileServer()

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val BufferSize: Int

    Definition Classes
    SocketServer
  7. val MaxCharge: Double

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. lazy val compileSocket: CompileSocket

  11. def createServerSocket(): ServerSocket

    Attributes
    protected
    Definition Classes
    SocketServer
  12. def doSession(clientSocket: Socket): Unit

    Definition Classes
    SocketServer
  13. def echo(msg: String): Unit

    Definition Classes
    CompileOutputCommon
  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. def fatal(msg: String): Nothing

    Definition Classes
    CompileOutputCommon
  17. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. var idleMinutes: Int

    Attributes
    protected
    Definition Classes
    SocketServer
  21. var in: BufferedReader

    Definition Classes
    SocketServer
  22. def info(msg: String): Unit

    Definition Classes
    CompileOutputCommon
  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. def isMemoryFullEnough(): Boolean

  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. def newGlobal(settings: Settings, reporter: Reporter): Global

    Create a new compiler instance

  27. def newOfflineCompilerCommand(arguments: List[String], settings: FscSettings): OfflineCompilerCommand

    Attributes
    protected
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. var out: PrintWriter

    Definition Classes
    SocketServer
  31. lazy val port: Int

    Definition Classes
    SocketServer
  32. def printMemoryStats(): Unit

  33. var reporter: ConsoleReporter

  34. def run(): Unit

    Definition Classes
    SocketServer
  35. lazy val serverSocket: ServerSocket

    Definition Classes
    SocketServer
  36. def session(): Unit

    Definition Classes
    StandardCompileServerSocketServer
  37. var shutdown: Boolean

    Definition Classes
    StandardCompileServerSocketServer
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  39. def timeout(): Unit

    Definition Classes
    StandardCompileServerSocketServer
  40. def toString(): String

    Definition Classes
    AnyRef → Any
  41. def unequalSettings(s1: Settings, s2: Settings): Set[Setting]

    Problematically, Settings are only considered equal if every setting is exactly equal.

    Problematically, Settings are only considered equal if every setting is exactly equal. In fsc this immediately breaks down because the randomly chosen temporary outdirs differ between client and server. Among other things. Long term we could use a meaningful equality; short term I'm just ignoring options which I can see causing a new compiler instance every time and which do not interestingly influence compilation products.

  42. var verbose: Boolean

  43. val versionMsg: String

  44. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  45. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  46. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  47. def warn(msg: String): Unit

    Definition Classes
    CompileOutputCommon

Inherited from SocketServer

Inherited from CompileOutputCommon

Inherited from AnyRef

Inherited from Any