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
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StandardCompileServer
  2. SocketServer
  3. CompileOutputCommon
  4. AnyRef
  5. Any
Implicitly
  1. by StringAdd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Learn more about member selection
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. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from StandardCompileServer to StringAdd[StandardCompileServer] performed by method StringAdd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (StandardCompileServer, B)

    Implicit information
    This member is added by an implicit conversion from StandardCompileServer to ArrowAssoc[StandardCompileServer] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  8. val BufferSize: Int

    Definition Classes
    SocketServer
  9. val MaxCharge: Double

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

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

  13. def createServerSocket(): ServerSocket

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

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

    Definition Classes
    CompileOutputCommon
  16. def ensuring(cond: (StandardCompileServer) ⇒ Boolean, msg: ⇒ Any): StandardCompileServer

    Implicit information
    This member is added by an implicit conversion from StandardCompileServer to Ensuring[StandardCompileServer] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: (StandardCompileServer) ⇒ Boolean): StandardCompileServer

    Implicit information
    This member is added by an implicit conversion from StandardCompileServer to Ensuring[StandardCompileServer] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean, msg: ⇒ Any): StandardCompileServer

    Implicit information
    This member is added by an implicit conversion from StandardCompileServer to Ensuring[StandardCompileServer] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean): StandardCompileServer

    Implicit information
    This member is added by an implicit conversion from StandardCompileServer to Ensuring[StandardCompileServer] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. final def eq(arg0: AnyRef): Boolean

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

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

    Definition Classes
    CompileOutputCommon
  23. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from StandardCompileServer to StringFormat[StandardCompileServer] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  25. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  27. var idleMinutes: Int

    Attributes
    protected
    Definition Classes
    SocketServer
  28. var in: BufferedReader

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

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

    Definition Classes
    Any
  31. def isMemoryFullEnough(): Boolean

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

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

    Create a new compiler instance

  34. final def notify(): Unit

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

    Definition Classes
    AnyRef
  36. var out: PrintWriter

    Definition Classes
    SocketServer
  37. lazy val port: Int

    Definition Classes
    SocketServer
  38. def printMemoryStats(): Unit

  39. var reporter: ConsoleReporter

  40. def run(): Unit

    Definition Classes
    SocketServer
  41. lazy val serverSocket: ServerSocket

    Definition Classes
    SocketServer
  42. def session(): Unit

    Definition Classes
    StandardCompileServerSocketServer
  43. var shutdown: Boolean

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

    Definition Classes
    AnyRef
  45. def timeout(): Unit

    Definition Classes
    StandardCompileServerSocketServer
  46. def toString(): String

    Definition Classes
    AnyRef → Any
  47. 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.

  48. var verbose: Boolean

  49. final def wait(): Unit

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

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

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

    Definition Classes
    CompileOutputCommon
  53. def [B](y: B): (StandardCompileServer, B)

    Implicit information
    This member is added by an implicit conversion from StandardCompileServer to ArrowAssoc[StandardCompileServer] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from SocketServer

Inherited from CompileOutputCommon

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion StringAdd from StandardCompileServer to StringAdd[StandardCompileServer]

Inherited by implicit conversion StringFormat from StandardCompileServer to StringFormat[StandardCompileServer]

Inherited by implicit conversion Ensuring from StandardCompileServer to Ensuring[StandardCompileServer]

Inherited by implicit conversion ArrowAssoc from StandardCompileServer to ArrowAssoc[StandardCompileServer]

Ungrouped