Class/Object

mod.diesel.model.exec

EESnakk

Related Docs: object EESnakk | package exec

Permalink

class EESnakk extends EExecutor with Logging

executor for snakking REST APIs

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EESnakk
  2. Logging
  3. EExecutor
  4. EApplicable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EESnakk()

    Permalink

Type Members

  1. class cdebug extends AnyRef

    Permalink
    Definition Classes
    Logging
    Annotations
    @inline()
  2. class clog extends AnyRef

    Permalink
    Definition Classes
    Logging
    Annotations
    @inline()

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. def apply(in: EMsg, destSpec: Option[EMsg])(implicit ctx: ECtx): List[Any]

    Permalink

    execute the task then

    execute the task then

    returns

    a list of elements - these will be wrapped in DomAst and added to the tree, so a value should be EVal etc When starting an async action yourself, just return an EEngSuspend and schedule a later DERep to complete this actibity

    Definition Classes
    EESnakkEApplicable
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def audit(message: ⇒ String, e: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  7. def audit(message: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  8. def cdebug: cdebug

    Permalink

    c++ memories, anyone...

    c++ memories, anyone... i do like to use the cout << x instead of println(x)

    Definition Classes
    Logging
    Annotations
    @inline()
  9. def clog: clog

    Permalink

    c++ memories, anyone...

    c++ memories, anyone... i do like to use the cout << x instead of println(x)

    Definition Classes
    Logging
    Annotations
    @inline()
  10. def clone(): AnyRef

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

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  12. def debug(message: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def error(message: ⇒ String, e: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  16. def error(message: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  17. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. def info(message: ⇒ String, e: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  21. def info(message: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  22. def isAsync: Boolean

    Permalink

    is this async? note that this flag is just for info, not needed, but do read this comment on async execs

    is this async? note that this flag is just for info, not needed, but do read this comment on async execs

    If SYNC, we'll wait in this thread on the call to apply - avoid a switch. This is great for local support like DB, logging, echo and other services

    If ASYNC, then the engine will actor it out and you'll need to send a DERep to the engine when done so it's more like asking the engine to isolate you rather than promising something

    In case this is async, you can return some info/correlation nodes from apply(), which will be added to the tree, after which the engine will NOT mark this node complete. You will send a DERep when done.

    Also, while processing, you could add more info nodes to this one and only at the end mark it as done with DERep.

    todo will need a DEDetails for the temp info nodes todo implement async, with examples

    Definition Classes
    EApplicable
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. def isMock: Boolean

    Permalink

    is this a mock? is it supposed to run in mock mode or not?

    is this a mock? is it supposed to run in mock mode or not?

    you can have an executor for mock mode and one for normal mode

    Definition Classes
    EApplicable
  25. def log(message: ⇒ String, e: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  26. def log(message: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  27. val logger: Log

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  28. val messages: List[EMsg]

    Permalink

    the list of message specs for this executor - overwrite and return them for content assist

    the list of message specs for this executor - overwrite and return them for content assist

    Definition Classes
    EESnakkEExecutor
  29. val name: String

    Permalink

    - the name of this executor

    - the name of this executor

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

    Permalink
    Definition Classes
    AnyRef
  31. def newlog(s: String): Log

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  32. def newlog(clazz: Class[_]): Log

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  33. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  35. def slf4j: Logger

    Permalink

    use this if you want to log with slf4j conventions instead of the formatting conventions implemented here (String.format).

    use this if you want to log with slf4j conventions instead of the formatting conventions implemented here (String.format).

    Printf rules!

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

    Permalink
    Definition Classes
    AnyRef
  37. def tee(message: ⇒ String): String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  38. def test(m: EMsg, cole: Option[MatchCollector] = None)(implicit ctx: ECtx): Boolean

    Permalink

    can I execute this task?

    can I execute this task?

    Definition Classes
    EESnakkEApplicable
  39. def toString(): String

    Permalink
    Definition Classes
    EESnakk → AnyRef → Any
  40. def trace(message: ⇒ String, e: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  41. def trace(message: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  42. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. def warn(message: ⇒ String, e: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  46. def warn(message: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()

Inherited from Logging

Inherited from EExecutor

Inherited from EApplicable

Inherited from AnyRef

Inherited from Any

Ungrouped