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
- Alphabetic
- By Inheritance
- StandardCompileServer
- SocketServer
- CompileOutputCommon
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new StandardCompileServer(fixPort: Int = 0)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from StandardCompileServer toany2stringadd[StandardCompileServer] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (StandardCompileServer, B)
- Implicit
- This member is added by an implicit conversion from StandardCompileServer toArrowAssoc[StandardCompileServer] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val BufferSize: Int
- Definition Classes
- SocketServer
- val MaxCharge: Double
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- lazy val compileSocket: CompileSocket
- def createServerSocket(): ServerSocket
- Attributes
- protected
- Definition Classes
- SocketServer
- def doSession(clientSocket: Socket): Unit
- Definition Classes
- SocketServer
- def echo(msg: String): Unit
- Definition Classes
- CompileOutputCommon
- def ensuring(cond: (StandardCompileServer) => Boolean, msg: => Any): StandardCompileServer
- Implicit
- This member is added by an implicit conversion from StandardCompileServer toEnsuring[StandardCompileServer] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (StandardCompileServer) => Boolean): StandardCompileServer
- Implicit
- This member is added by an implicit conversion from StandardCompileServer toEnsuring[StandardCompileServer] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): StandardCompileServer
- Implicit
- This member is added by an implicit conversion from StandardCompileServer toEnsuring[StandardCompileServer] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): StandardCompileServer
- Implicit
- This member is added by an implicit conversion from StandardCompileServer toEnsuring[StandardCompileServer] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fatal(msg: String): Nothing
- Definition Classes
- CompileOutputCommon
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from StandardCompileServer toStringFormat[StandardCompileServer] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- var idleMinutes: Int
- Attributes
- protected
- Definition Classes
- SocketServer
- var in: BufferedReader
- Definition Classes
- SocketServer
- def info(msg: String): Unit
- Definition Classes
- CompileOutputCommon
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isMemoryFullEnough(): Boolean
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- var out: PrintWriter
- Definition Classes
- SocketServer
- lazy val port: Int
- Definition Classes
- SocketServer
- def printMemoryStats(): Unit
- var reporter: ConsoleReporter
- def run(): Unit
- Definition Classes
- SocketServer
- lazy val serverSocket: ServerSocket
- Definition Classes
- SocketServer
- def session(): Unit
- Definition Classes
- StandardCompileServer → SocketServer
- var shutdown: Boolean
- Definition Classes
- StandardCompileServer → SocketServer
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def timeout(): Unit
- Definition Classes
- StandardCompileServer → SocketServer
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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.
- var verbose: Boolean
- Definition Classes
- StandardCompileServer → CompileOutputCommon
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def warn(msg: String): Unit
- Definition Classes
- CompileOutputCommon
Deprecated Value Members
- def →[B](y: B): (StandardCompileServer, B)
- Implicit
- This member is added by an implicit conversion from StandardCompileServer toArrowAssoc[StandardCompileServer] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
The Scala compiler and reflection APIs.