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 to any2stringadd[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 to ArrowAssoc[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( ... )
-
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
-
lazy val
dirName: String
The prefix of the port identification file, which is followed by the port number.
The prefix of the port identification file, which is followed by the port number.
- Attributes
- protected
-
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 to Ensuring[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 to Ensuring[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 to Ensuring[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 to Ensuring[CompileSocket] 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] )
- var fixPort: Int
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from CompileSocket to StringFormat[CompileSocket] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
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
-
def
info(msg: String): Unit
- Definition Classes
- CompileOutputCommon
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- def parseInt(x: String): Option[Int]
-
def
portFile(port: Int): File
The port identification file
- val portsDir: Directory
-
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
-
val
tmpDir: Directory
A temporary directory to use
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
verbose: Boolean
- Definition Classes
- CompileSocket → CompileOutputCommon
-
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( ... )
-
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): (CompileSocket, B)
- Implicit
- This member is added by an implicit conversion from CompileSocket to ArrowAssoc[CompileSocket] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
The Scala compiler and reflection APIs.