final class DefaultConnectedObjectTree[A <: AnyRef] extends ConnectedObjectTree[A] with ObjectConnector
- Alphabetic
- By Inheritance
- DefaultConnectedObjectTree
- ObjectConnector
- ConnectedObjectTree
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DefaultConnectedObjectTree(currentIdentifier: String, network: Network, center: DefaultSyncObjectForest[A], id: NamedIdentifier, instantiator: SyncInstanceInstantiator, dataFactory: NodeDataFactory, behaviorTree: ObjectContractFactory)(rootSupplier: (DefaultConnectedObjectTree[A]) => RootObjectNodeImpl[A])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val contractFactory: ObjectContractFactory
The behavior store of this object's tree
The behavior store of this object's tree
- Definition Classes
- DefaultConnectedObjectTree → ConnectedObjectTree
- def createConnectedObj(parentRef: ConnectedObjectReference, id: Int)(obj: Any, insertionKind: SyncLevel): ConnectedObject[AnyRef]
- Definition Classes
- DefaultConnectedObjectTree → ObjectConnector
- def createConnectedObj(parentRef: ConnectedObjectReference)(obj: Any, kind: SyncLevel): ConnectedObject[AnyRef]
- Definition Classes
- DefaultConnectedObjectTree → ObjectConnector
- def createMirroredObject[B <: AnyRef](parentPath: Array[NamedIdentifier], classDef: SyncClassDef, ownerID: String, id: Int): ConnectedObjectNode[B]
- Definition Classes
- DefaultConnectedObjectTree → ObjectConnector
- val dataFactory: NodeDataFactory
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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
- DefaultConnectedObjectTree → ConnectedObjectTree
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getRoot: RootObjectNodeImpl[A]
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val id: NamedIdentifier
This tree's identifier (rootNode.id == this.id)
This tree's identifier (rootNode.id == this.id)
- Definition Classes
- DefaultConnectedObjectTree → ConnectedObjectTree
- def insertObject[B <: AnyRef](parentPath: Array[NamedIdentifier], obj: AnyRef, ownerID: String, insertionKind: SyncLevel, idHint: Int): ConnectedObjectNode[B]
- Definition Classes
- DefaultConnectedObjectTree → ObjectConnector
- 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
- DefaultConnectedObjectTree → ObjectConnector
- 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.
- 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
- DefaultConnectedObjectTree → ObjectConnector
- 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.
- val instantiator: SyncInstanceInstantiator
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def rootNode: ObjectSyncNode[A]
- returns
the root node of this object.
- Definition Classes
- DefaultConnectedObjectTree → ConnectedObjectTree
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated