Packages

c

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.

Version

1.0

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

Instance Constructors

  1. new StandardCompileServer(fixPort: Int = 0)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val BufferSize: Int
    Definition Classes
    SocketServer
  5. val MaxCharge: Double
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. lazy val compileSocket: CompileSocket
  9. def createServerSocket(): ServerSocket
    Attributes
    protected
    Definition Classes
    SocketServer
  10. def doSession(clientSocket: Socket): Unit
    Definition Classes
    SocketServer
  11. def echo(msg: String): Unit
    Definition Classes
    CompileOutputCommon
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def fatal(msg: String): Nothing
    Definition Classes
    CompileOutputCommon
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. var idleMinutes: Int
    Attributes
    protected
    Definition Classes
    SocketServer
  19. var in: BufferedReader
    Definition Classes
    SocketServer
  20. def info(msg: String): Unit
    Definition Classes
    CompileOutputCommon
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def isMemoryFullEnough(): Boolean
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def newGlobal(settings: Settings, reporter: Reporter): Global

    Create a new compiler instance

  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. var out: PrintWriter
    Definition Classes
    SocketServer
  28. lazy val port: Int
    Definition Classes
    SocketServer
  29. def printMemoryStats(): Unit
  30. var reporter: ConsoleReporter
  31. def run(): Unit
    Definition Classes
    SocketServer
  32. lazy val serverSocket: ServerSocket
    Definition Classes
    SocketServer
  33. def session(): Unit
    Definition Classes
    StandardCompileServerSocketServer
  34. var shutdown: Boolean
    Definition Classes
    StandardCompileServerSocketServer
  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def timeout(): Unit
    Definition Classes
    StandardCompileServerSocketServer
  37. def toString(): String
    Definition Classes
    AnyRef → Any
  38. def unequalSettings(s1: Settings, s2: Settings): Set[Settings.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.

  39. var verbose: Boolean
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  43. def warn(msg: String): Unit
    Definition Classes
    CompileOutputCommon

Inherited from SocketServer

Inherited from CompileOutputCommon

Inherited from AnyRef

Inherited from Any

Ungrouped