Class

org.pageobject.core.driver.vnc

DefaultVncServer

Related Doc: package vnc

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val checkCommand: Option[String]

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

    Permalink
    Definition Classes
    VncServer
  7. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. val id: Int

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

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

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

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

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    VncServer
  27. def name: String

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

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

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

    Permalink
    Definition Classes
    DefaultVncServerVncServer
  32. val processLogger: ProcessLogger

    Permalink
    Attributes
    protected
    Definition Classes
    VncServer
  33. val script: String

    Permalink
    Attributes
    protected
  34. def seleniumCommand: Option[String]

    Permalink
    Attributes
    protected
    Definition Classes
    SeleniumVncServer
  35. def seleniumHost: String

    Permalink
    Attributes
    protected
    Definition Classes
    SeleniumVncServer
  36. val seleniumPort: Int

    Permalink
    Definition Classes
    FindFreeSeleniumPort
  37. def seleniumProto: String

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

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

    Permalink
    Definition Classes
    VncServer
  40. def start(): Unit

    Permalink
    Definition Classes
    VncServer
  41. val startCommand: Option[String]

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

    Permalink
    Definition Classes
    VncServer
  43. def stdoutName(): String

    Permalink
    Definition Classes
    VncServer
  44. val stopCommand: Option[String]

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

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

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

    Permalink
    Definition Classes
    Logging
  48. lazy val url: String

    Permalink
    Definition Classes
    SeleniumVncServer
  49. final def wait(): Unit

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

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

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

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

    Permalink
    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