class CompileSocket extends CompileOutputCommon
This class manages sockets for the fsc offline compiler.
- Source
- CompileSocket.scala
- Alphabetic
- By Inheritance
- CompileSocket
- CompileOutputCommon
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new CompileSocket()
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 CompileSocket toany2stringadd[CompileSocket] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (CompileSocket, B)
- Implicit
- This member is added by an implicit conversion from CompileSocket toArrowAssoc[CompileSocket] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def cmdName: String
- Attributes
- protected
- lazy val compileClient: StandardCompileClient
- Attributes
- protected
- def deletePort(port: Int): Boolean
Delete the port number to which a scala compile server was connected
- def echo(msg: String): Unit
- Definition Classes
- CompileOutputCommon
- def ensuring(cond: (CompileSocket) => Boolean, msg: => Any): CompileSocket
- Implicit
- This member is added by an implicit conversion from CompileSocket toEnsuring[CompileSocket] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (CompileSocket) => Boolean): CompileSocket
- Implicit
- This member is added by an implicit conversion from CompileSocket toEnsuring[CompileSocket] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): CompileSocket
- Implicit
- This member is added by an implicit conversion from CompileSocket toEnsuring[CompileSocket] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): CompileSocket
- Implicit
- This member is added by an implicit conversion from CompileSocket toEnsuring[CompileSocket] 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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- var fixPort: Int
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from CompileSocket toStringFormat[CompileSocket] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getOrCreateSocket(vmArgs: String, create: Boolean = true, fixedPort: Int = 0): Option[Socket]
Get a socket connected to a daemon.
Get a socket connected to a daemon. If create is true, then create a new daemon if necessary. Returns None if the connection cannot be established.
- def getPassword(port: Int): String
- def getPort(vmArgs: String): Int
Get the port number to which a scala compile server is connected; If no server is running yet, then create one.
- def getSocket(hostName: String, port: Int): Option[Socket]
- def getSocket(serverAdr: String): Option[Socket]
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def info(msg: String): Unit
- Definition Classes
- CompileOutputCommon
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mkDaemonDir(name: String): Directory
- 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()
- def portFile(port: Int): File
The port identification file
- val serverClass: String
The class name of the scala compile server
The class name of the scala compile server
- Attributes
- protected
- def serverClassArgs: collection.immutable.List[String]
- Attributes
- protected
- def setPort(port: Int): Unit
Set the port number to which a scala compile server is connected
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def verbose: Boolean
- Definition Classes
- CompileSocket → CompileOutputCommon
- def verbose_=(v: Boolean): Unit
- val vmCommand: String
The vm part of the command to start a new scala compile server
The vm part of the command to start a new scala compile server
- Attributes
- protected
- 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): (CompileSocket, B)
- Implicit
- This member is added by an implicit conversion from CompileSocket toArrowAssoc[CompileSocket] 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.