Package

lorance

scall

Permalink

package scall

scall Global constants and util method

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. scall
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Auth(host: String, name: String, port: Int, key: Key) extends Product with Serializable

    Permalink
  2. case class Cmd(content: String) extends Product with Serializable

    Permalink
  3. case class CmdFlow(cmd: Cmd, isExclude: Boolean = false) extends Product with Serializable

    Permalink

    append a flag for cmd

  4. case class Config(connectTimeout: Int) extends Product with Serializable

    Permalink
  5. case class ContextCmdFlow(f: (Option[String]) ⇒ CmdFlow) extends (Option[String]) ⇒ CmdFlow with Product with Serializable

    Permalink
  6. case class Error(code: Int, msg: String) extends Product with Serializable

    Permalink
  7. case class ExcBatchFailException(error: Error, cmd: Cmd, index: Int) extends ScallException with Product with Serializable

    Permalink
  8. case class ExcFailException(error: Error) extends ScallException with Product with Serializable

    Permalink
  9. case class IdentityFile(path: String) extends Key with Product with Serializable

    Permalink
  10. sealed class JSchWrapper extends AnyRef

    Permalink

  11. trait Key extends AnyRef

    Permalink
  12. class MarkCmd extends Cmd

    Permalink
  13. case class NonKey() extends Key with Product with Serializable

    Permalink
  14. case class Password(value: String) extends Key with Product with Serializable

    Permalink
  15. class ReaderDispatch extends AnyRef

    Permalink

    supply to output stream

  16. class ScallErrorStream extends OutputStream

    Permalink

    read stream split by uuid

  17. class ScallException extends RuntimeException

    Permalink

    scall Exceptions

  18. class ScallInputStream extends InputStream

    Permalink

    send cmd

  19. class ScallOutputStream extends OutputStream

    Permalink

    read stream split by uuid

  20. case class Shell(auth: Auth, parent: Option[Shell] = None)(implicit lock: ShellLock = new ShellLock, config: Config = Config(10)) extends Product with Serializable

    Permalink

    with shell streaming, there should define a unique echo string to warp response information to distinct other info from response stream, that means, e.g.

    with shell streaming, there should define a unique echo string to warp response information to distinct other info from response stream, that means, e.g. If I want execute pwd, so I should send a command string with echo uniqueStr && pwd && echo uniqueStr || echo uniqueStr

  21. case class ShellContextException(msg: String) extends ScallException with Product with Serializable

    Permalink
  22. class ShellLock extends AnyRef

    Permalink
  23. case class StreamClosedException(msg: String) extends ScallException with Product with Serializable

    Permalink
  24. case class WriteLock() extends Product with Serializable

    Permalink

Value Members

  1. object DspState extends Enumeration

    Permalink
  2. object ExitRootShell extends ScallException with Product with Serializable

    Permalink
  3. object Implicit

    Permalink

    all of the implicit method

  4. val MAGIC_SPLIT_BEGIN: String

    Permalink
  5. val MAGIC_SPLIT_END: String

    Permalink
  6. val SPLIT_BEGIN: String

    Permalink
  7. val SPLIT_END: String

    Permalink
  8. object Status extends Enumeration

    Permalink
  9. def doPrint(cmdResult: Either[Error, String]): Either[Error, String]

    Permalink

    print command result

  10. def failPrint(cmdResult: Either[Error, String]): Unit

    Permalink

    print the fail message if executing has some error.

    print the fail message if executing has some error.

    cmdResult

    is a Cmd executed result

  11. def loan[T](shell: Shell)(f: (Shell) ⇒ T): T

    Permalink
  12. def right(cmdResult: Either[Error, String]): String

    Permalink

    a method must be right, if not

    a method must be right, if not

    cmdResult

    is a Cmd executed result

Inherited from AnyRef

Inherited from Any

Ungrouped