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
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- StandardCompileServer
- SocketServer
- CompileOutputCommon
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
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 to any2stringadd[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 to ArrowAssoc[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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- 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 to Ensuring[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 to Ensuring[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 to Ensuring[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 to Ensuring[StandardCompileServer] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
fatal(msg: String): Nothing
- Definition Classes
- CompileOutputCommon
-
def
finalize(): Unit
- Attributes
- protected[java.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 to StringFormat[StandardCompileServer] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
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
-
def
newGlobal(settings: Settings, reporter: Reporter): Global
Create a new compiler instance
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
warn(msg: String): Unit
- Definition Classes
- CompileOutputCommon
-
def
→[B](y: B): (StandardCompileServer, B)
- Implicit
- This member is added by an implicit conversion from StandardCompileServer to ArrowAssoc[StandardCompileServer] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
The Scala compiler API.
The following resources are useful for Scala plugin/compiler development: