MoleculeRpcJS

molecule.core.marshalling.MoleculeRpcJS
case class MoleculeRpcJS(interface: String, port: Int) extends MoleculeRpcRequest, MoleculeRpc, FutureUtils

Attributes

Source
MoleculeRpcJS.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait FutureUtils
trait ModelUtils
trait MoleculeRpc
trait Logging
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

case class PostException(xhr: XMLHttpRequest) extends Exception

Attributes

Inherited from:
MoleculeRpcRequest
Source
MoleculeRpcRequest.scala
Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
implicit class futEither2fut[T](fut: Future[Either[MoleculeError, T]])(implicit ec: ExecutionContext)

Attributes

Inherited from:
FutureUtils
Source
FutureUtils.scala
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

override def delete(proxy: ConnProxy, elements: List[Element]): Future[Either[MoleculeError, TxReport]]

Attributes

Definition Classes
Source
MoleculeRpcJS.scala
override def insert(proxy: ConnProxy, tplElements: List[Element], tplsSerialized: Array[Byte]): Future[Either[MoleculeError, TxReport]]

Attributes

Definition Classes
Source
MoleculeRpcJS.scala
override def query[Tpl](proxy: ConnProxy, elements: List[Element], limit: Option[Int]): Future[Either[MoleculeError, List[Tpl]]]

Attributes

Definition Classes
Source
MoleculeRpcJS.scala
override def queryCursor[Tpl](proxy: ConnProxy, elements: List[Element], limit: Option[Int], cursor: String): Future[Either[MoleculeError, (List[Tpl], String, Boolean)]]

Attributes

Definition Classes
Source
MoleculeRpcJS.scala
override def queryOffset[Tpl](proxy: ConnProxy, elements: List[Element], limit: Option[Int], offset: Int): Future[Either[MoleculeError, (List[Tpl], Int, Boolean)]]

Attributes

Definition Classes
Source
MoleculeRpcJS.scala
override def save(proxy: ConnProxy, elements: List[Element]): Future[Either[MoleculeError, TxReport]]

Attributes

Definition Classes
Source
MoleculeRpcJS.scala
override def update(proxy: ConnProxy, elements: List[Element], isUpsert: Boolean): Future[Either[MoleculeError, TxReport]]

Attributes

Definition Classes
Source
MoleculeRpcJS.scala

Inherited methods

def await[T](body: => Future[T], atMost: Duration): T

Attributes

Inherited from:
FutureUtils
Source
FutureUtils.scala
protected def countValueAttrs(elements: List[Element]): Int

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
def either[T](fut: Future[T])(implicit ec: ExecutionContext): Future[Either[MoleculeError, T]]

Attributes

Inherited from:
FutureUtils
Source
FutureUtils.scala
def future[T](body: => T)(implicit ec: ExecutionContext): Future[T]

Attributes

Inherited from:
FutureUtils
Source
FutureUtils.scala
final def getAttrNames(elements: List[Element], attrs: Set[String]): Set[String]

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
final protected def getInitialNonGenericNs(elements: List[Element]): String

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
final protected def getInitialNs(elements: List[Element]): String

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
def isRefUpdate(elements: List[Element]): Boolean

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
protected def logger: Logger

The logger for this class.

The logger for this class.

Attributes

Inherited from:
Logging
Source
Logging.scala
protected def loggerName: String

Override this to change the name of the underlying logger.

Override this to change the name of the underlying logger.

Defaults to class name with package

Attributes

Inherited from:
Logging
Source
Logging.scala
protected def noKeywords(elements: List[Element], optProxy: Option[ConnProxy]): List[Element]

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def xmlHttpRequest(action: String, argsSerialized: Int8Array): Future[ByteBuffer]

Attributes

Inherited from:
MoleculeRpcRequest
Source
MoleculeRpcRequest.scala

Inherited fields

val logFormatter: Formatter

Attributes

Inherited from:
MoleculeLogging
Source
MoleculeLogging.scala
val logLevel: Level

Attributes

Inherited from:
MoleculeLogging
Source
MoleculeLogging.scala

Implicits

Inherited implicits

final implicit def futEither2fut[T](fut: Future[Either[MoleculeError, T]])(implicit ec: ExecutionContext): futEither2fut[T]

Attributes

Inherited from:
FutureUtils
Source
FutureUtils.scala