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 log(message: String): Boolean

    Attributes
    protected
    Definition Classes
    DefaultVncServerVncServer
  24. def name: String

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

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

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

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

    Definition Classes
    DefaultVncServerVncServer
  29. val processLogger: ProcessLogger

    Attributes
    protected
    Definition Classes
    VncServer
  30. val script: String

    Attributes
    protected
  31. def seleniumCommand: Option[String]

    Attributes
    protected
    Definition Classes
    SeleniumVncServer
  32. val seleniumPort: Int

    Definition Classes
    FindFreeSeleniumPort
  33. def seleniumScript: Option[String]

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

    Definition Classes
    VncServer
  35. def start(): Unit

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

    Attributes
    protected
    Definition Classes
    DefaultVncServerVncServer
  37. def stderrName: String

    Definition Classes
    VncServer
  38. def stdoutName: String

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

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

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

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

    Definition Classes
    Logging
  43. lazy val url: String

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

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

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

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

    Definition Classes
    Logging
  48. 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