org.pageobject.core.driver.vnc

DefaultVncServer

case class DefaultVncServer(onTerminated: (Boolean) ⇒ Unit) extends SeleniumVncServer with CountedId with FindFreeSeleniumPort with Product with Serializable

This class controls the startup of new VNC Servers.

Default start/check/stop command lines are provided here.

You can configure the used script by setting the environment variable PAGEOBJECT_VNC_SCRIPT.

It is recommented that the VNC script will watch the parent process id ($PPID in bash) and shutdown the VNC Server when the process has finished.

Because you can easly stop the java process using the debugger no additional cleanup is required to terminate the VNC server cleanly when watching the PPID

Linear Supertypes
Serializable, Serializable, Product, Equals, FindFreeSeleniumPort, CountedId, SeleniumVncServer, VncServer, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DefaultVncServer
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. FindFreeSeleniumPort
  7. CountedId
  8. SeleniumVncServer
  9. VncServer
  10. Logging
  11. AnyRef
  12. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DefaultVncServer(onTerminated: (Boolean) ⇒ Unit)

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. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val checkCommand: Option[String]

    Attributes
    protected
    Definition Classes
    DefaultVncServerVncServer
  8. def checkConnection(): Boolean

    Definition Classes
    VncServer
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def debug(msg: ⇒ String, throwable: ⇒ Throwable): Unit

    Definition Classes
    Logging
  11. def debug(msg: ⇒ String): Unit

    Definition Classes
    Logging
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def error(msg: ⇒ String, throwable: ⇒ Throwable): Unit

    Definition Classes
    Logging
  14. def error(msg: ⇒ String): Unit

    Definition Classes
    Logging
  15. def execute(cmd: String, extraEnv: (String, String)*): Process

    Attributes
    protected
    Definition Classes
    VncServer
  16. def extraEnv: Seq[(String, String)]

    Attributes
    protected
    Definition Classes
    SeleniumVncServerVncServer
  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. val id: Int

    Definition Classes
    CountedId
  20. def info(msg: ⇒ String, throwable: ⇒ Throwable): Unit

    Definition Classes
    Logging
  21. def info(msg: ⇒ String): Unit

    Definition Classes
    Logging
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. def isTraceMessage(message: String): Boolean

    Attributes
    protected
    Definition Classes
    VncServer
  24. def log(message: String): Boolean

    Attributes
    protected
    Definition Classes
    DefaultVncServerVncServer
  25. def log(level: LogLevel, msg: ⇒ String, throwable: ⇒ Throwable): Unit

    Definition Classes
    Logging
  26. def log(level: LogLevel, msg: ⇒ String): Unit

    Definition Classes
    Logging
  27. def logStdErr(message: String): Unit

    Attributes
    protected
    Definition Classes
    VncServer
  28. def logStdOut(message: String): Unit

    Attributes
    protected
    Definition Classes
    VncServer
  29. def name: String

    Definition Classes
    VncServer
  30. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  31. final def notify(): Unit

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

    Definition Classes
    AnyRef
  33. val onTerminated: (Boolean) ⇒ Unit

    Definition Classes
    DefaultVncServerVncServer
  34. val processLogger: ProcessLogger

    Attributes
    protected
    Definition Classes
    VncServer
  35. val script: String

    Attributes
    protected
  36. def seleniumCommand: Option[String]

    Attributes
    protected
    Definition Classes
    SeleniumVncServer
  37. def seleniumHost: String

    Attributes
    protected
    Definition Classes
    SeleniumVncServer
  38. val seleniumPort: Int

    Definition Classes
    FindFreeSeleniumPort
  39. def seleniumProto: String

    Attributes
    protected
    Definition Classes
    SeleniumVncServer
  40. def seleniumScript: Option[String]

    Attributes
    protected
    Definition Classes
    SeleniumVncServer
  41. def shutdown(): Unit

    Definition Classes
    VncServer
  42. def start(): Unit

    Definition Classes
    VncServer
  43. val startCommand: Option[String]

    Attributes
    protected
    Definition Classes
    DefaultVncServerVncServer
  44. def stderrName(): String

    Definition Classes
    VncServer
  45. def stdoutName(): String

    Definition Classes
    VncServer
  46. val stopCommand: Option[String]

    Attributes
    protected
    Definition Classes
    DefaultVncServerVncServer
  47. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  48. def trace(msg: ⇒ String, throwable: ⇒ Throwable): Unit

    Definition Classes
    Logging
  49. def trace(msg: ⇒ String): Unit

    Definition Classes
    Logging
  50. lazy val url: String

    Definition Classes
    SeleniumVncServer
  51. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. def warn(msg: ⇒ String, throwable: ⇒ Throwable): Unit

    Definition Classes
    Logging
  55. def warn(msg: ⇒ String): Unit

    Definition Classes
    Logging

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from FindFreeSeleniumPort

Inherited from CountedId

Inherited from SeleniumVncServer

Inherited from VncServer

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped