Class AbstractRootContainer

  • All Implemented Interfaces:
    org.praxislive.core.Component, org.praxislive.core.Container, org.praxislive.core.Lookup.Provider, org.praxislive.core.Root

    public abstract class AbstractRootContainer
    extends AbstractRoot
    implements org.praxislive.core.Container
    • Constructor Detail

      • AbstractRootContainer

        protected AbstractRootContainer()
    • Method Detail

      • getChild

        public org.praxislive.core.Component getChild​(String id)
        Specified by:
        getChild in interface org.praxislive.core.Container
      • children

        public Stream<String> children()
        Specified by:
        children in interface org.praxislive.core.Container
      • getAddress

        public org.praxislive.core.ComponentAddress getAddress​(org.praxislive.core.Component child)
        Specified by:
        getAddress in interface org.praxislive.core.Container
      • getParent

        public org.praxislive.core.Container getParent()
        Specified by:
        getParent in interface org.praxislive.core.Component
      • parentNotify

        public void parentNotify​(org.praxislive.core.Container parent)
                          throws org.praxislive.core.VetoException
        Specified by:
        parentNotify in interface org.praxislive.core.Component
        Throws:
        org.praxislive.core.VetoException
      • hierarchyChanged

        public void hierarchyChanged()
        Specified by:
        hierarchyChanged in interface org.praxislive.core.Component
      • getControl

        public org.praxislive.core.Control getControl​(String id)
        Specified by:
        getControl in interface org.praxislive.core.Component
      • getPort

        public org.praxislive.core.Port getPort​(String id)
        Specified by:
        getPort in interface org.praxislive.core.Component
      • getInfo

        public abstract org.praxislive.core.ComponentInfo getInfo()
        Specified by:
        getInfo in interface org.praxislive.core.Component
      • processCall

        protected void processCall​(org.praxislive.core.Call call,
                                   org.praxislive.core.PacketRouter router)
        Description copied from class: AbstractRoot
        Method called to handle every received Call. The provided router should be used for all ongoing or return calls.
        Specified by:
        processCall in class AbstractRoot
      • addChild

        protected final void addChild​(String id,
                                      org.praxislive.core.Component child)
                               throws org.praxislive.core.VetoException
        Throws:
        org.praxislive.core.VetoException
      • removeChild

        protected final org.praxislive.core.Component removeChild​(String id)
      • connect

        protected final void connect​(String component1,
                                     String port1,
                                     String component2,
                                     String port2)
                              throws org.praxislive.core.PortConnectionException
        Throws:
        org.praxislive.core.PortConnectionException
      • registerControl

        protected final void registerControl​(String id,
                                             org.praxislive.core.Control control)
      • unregisterControl

        protected final void unregisterControl​(String id)