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: Option[String], port: Int, key: Key) extends Product with Serializable

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

    Permalink
  3. case class Config(connectTimeout: Int, serverAliveInterval: Int, serverAliveCountMax: Int) extends Product with Serializable

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

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

    Permalink
  6. case class HostLevel(value: Int) extends Product with Serializable

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

    Permalink
  8. sealed class JSchWrapper extends AnyRef

    Permalink

  9. trait Key extends AnyRef

    Permalink
  10. case class ParsedProto(data: String, code: Int, hostLevel: Int) extends Product with Serializable

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

    Permalink
  12. case class ProtoData(load: String, endHostLevel: Int) extends Product with Serializable

    Permalink
  13. class ReaderDispatch extends AnyRef

    Permalink

    supply to output stream

  14. class ReaderDispatchPair extends AnyRef

    Permalink

    三个状态,Begin, Load, End.

    三个状态,Begin, Load, End. Begin由Begin_Split组成 End由End_Split, hostLevel, EndProtocol组成 两个dispatch中,总会有一个处于Begin,另一个处于Load状态。 初始化是,第一个Dispatch的状态的Begin,另一个Dispatch的状态为Load

    Global维护当前的hostLevel和BeginCount的值

  15. class ScallErrorStream extends OutputStream

    Permalink

    read stream split by uuid

  16. class ScallException extends RuntimeException

    Permalink

    scall Exceptions

  17. class ScallInputStream extends InputStream

    Permalink

    send cmd

  18. class ScallOutputStream extends OutputStream

    Permalink

    read stream split by uuid

  19. class SessionPool extends AnyRef

    Permalink

  20. class SessionTerminal extends AnyRef

    Permalink

    execute command on session's channel without context

  21. class ShellLock extends AnyRef

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

    Permalink
  23. class Terminal extends AnyRef

    Permalink

  24. case class TerminalDisconnectException(errMsg: String, load: String, curHostLevel: Int) extends TerminalException with Product with Serializable

    Permalink
  25. class TerminalException extends RuntimeException

    Permalink
  26. case class TerminalHostLevelException(expectLevel: Int, rstLevel: Int) extends TerminalException with Product with Serializable

    Permalink
  27. case class TerminalSettingLangException(errMsg: String, curHostLevel: Int) extends ScallException with Product with Serializable

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

    Permalink

Value Members

  1. object DspState extends Enumeration

    Permalink
  2. val MAGIC_SPLIT_BEGIN: Array[Byte]

    Permalink
  3. val MAGIC_SPLIT_BEGIN_Str: String

    Permalink
  4. val MAGIC_SPLIT_END: Array[Byte]

    Permalink
  5. val MAGIC_SPLIT_END_Str: String

    Permalink
  6. object NonKey extends Key with Product with Serializable

    Permalink
  7. val SPLIT_BEGIN: Array[Byte]

    Permalink
  8. val SPLIT_BEGIN_Str: String

    Permalink
  9. val SPLIT_END: Array[Byte]

    Permalink
  10. val SPLIT_END_Str: String

    Permalink
  11. val UTF8_ _Byte: Byte

    Permalink
  12. def defStr2Bytes(defaultStr: String): Array[Byte]

    Permalink
  13. def defStr2UTF8(defaultStr: String): String

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

    Permalink

    print command result

  15. 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

  16. 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