Packages

c

fr.linkit.engine.gnom.cache.sync.tree

DefaultConnectedObjectTree

final class DefaultConnectedObjectTree[A <: AnyRef] extends ConnectedObjectTree[A] with ObjectConnector

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultConnectedObjectTree
  2. ObjectConnector
  3. ConnectedObjectTree
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DefaultConnectedObjectTree(currentIdentifier: String, network: Network, center: DefaultSyncObjectForest[A], id: NamedIdentifier, instantiator: SyncInstanceInstantiator, dataFactory: NodeDataFactory, behaviorTree: ObjectContractFactory)(rootSupplier: (DefaultConnectedObjectTree[A]) => RootObjectNodeImpl[A])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  6. val contractFactory: ObjectContractFactory

    The behavior store of this object's tree

    The behavior store of this object's tree

    Definition Classes
    DefaultConnectedObjectTreeConnectedObjectTree
  7. def createConnectedObj(parentRef: ConnectedObjectReference, id: Int)(obj: Any, insertionKind: SyncLevel): ConnectedObject[AnyRef]
  8. def createConnectedObj(parentRef: ConnectedObjectReference)(obj: Any, kind: SyncLevel): ConnectedObject[AnyRef]
  9. def createMirroredObject[B <: AnyRef](parentPath: Array[NamedIdentifier], classDef: SyncClassDef, ownerID: String, id: Int): ConnectedObjectNode[B]
  10. val dataFactory: NodeDataFactory
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def findNode[B <: AnyRef](path: Array[NamedIdentifier]): Option[MutableNode[B]]

    Retrieves a node from it's path (see fr.linkit.api.gnom.cache.sync.contract.description.SyncNode.treePath

    Retrieves a node from it's path (see fr.linkit.api.gnom.cache.sync.contract.description.SyncNode.treePath

    B

    the type of the node's synchronized object

    path

    the path of the node.

    returns

    Some(SyncNode) if found, None instead.

    Definition Classes
    DefaultConnectedObjectTreeConnectedObjectTree
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. def getRoot: RootObjectNodeImpl[A]
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  17. val id: NamedIdentifier

    This tree's identifier (rootNode.id == this.id)

    This tree's identifier (rootNode.id == this.id)

    Definition Classes
    DefaultConnectedObjectTreeConnectedObjectTree
  18. def insertObject[B <: AnyRef](parentPath: Array[NamedIdentifier], obj: AnyRef, ownerID: String, insertionKind: SyncLevel, idHint: Int): ConnectedObjectNode[B]
  19. def insertObject[B <: AnyRef](parentPath: Array[NamedIdentifier], source: AnyRef, ownerID: String, insertionKind: SyncLevel): ConnectedObjectNode[B]

    Inserts an object in the tree, transforms it into a synchronized object, and wraps the resulting object in a ConnectedObjectNode

    Inserts an object in the tree, transforms it into a synchronized object, and wraps the resulting object in a ConnectedObjectNode

    B

    the type of the object.

    parentPath

    the parent's path of the synchronized object that will be inserted.

    source

    the object that will be converted to a synchronized object.

    ownerID

    the owner of the object (Generally the engine that have created the object)

    returns

    the created node

    Definition Classes
    DefaultConnectedObjectTreeObjectConnector
    Exceptions thrown

    CannotConnectException if the object is already synchronized.

    IllegalArgumentException if the given parent is does not belongs to this tree.

    NoSuchSyncNodeException if the parent's path could not be found.

  20. def insertObject[B <: AnyRef](parent: ConnectedObjectNode[_], source: AnyRef, ownerID: String, insertionKind: SyncLevel): ConnectedObjectNode[B]

    Inserts an object in the tree, transforms it into a synchronized object, and wraps the resulting object in a ConnectedObjectNode

    Inserts an object in the tree, transforms it into a synchronized object, and wraps the resulting object in a ConnectedObjectNode

    B

    the type of the object.

    parent

    the parent of the synchronized object that will be inserted.

    source

    the object that will be converted to a synchronized object.

    ownerID

    the owner of the object (Generally the engine that have created the object)

    returns

    the created node

    Definition Classes
    DefaultConnectedObjectTreeObjectConnector
    Exceptions thrown

    CannotConnectException if the object is already synchronized.

    IllegalArgumentException if the given parent does not belongs to this tree.

    NoSuchSyncNodeException if the parent's path could not be found.

  21. val instantiator: SyncInstanceInstantiator
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  26. def rootNode: ObjectSyncNode[A]

    returns

    the root node of this object.

    Definition Classes
    DefaultConnectedObjectTreeConnectedObjectTree
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from ObjectConnector

Inherited from ConnectedObjectTree[A]

Inherited from AnyRef

Inherited from Any

Ungrouped