Class CompositeComponentImpl.ExtendedCompositeComponentImpl<C extends Component,​CTX,​CON>

    • Constructor Detail

      • ExtendedCompositeComponentImpl

        @SafeVarargs
        public ExtendedCompositeComponentImpl​(C... aComponents)
        Instantiates a new extended composite component impl.
        Parameters:
        aComponents - the components
      • ExtendedCompositeComponentImpl

        public ExtendedCompositeComponentImpl​(Collection<C> aComponents)
        Instantiates a new extended composite component impl.
        Parameters:
        aComponents - the components
      • ExtendedCompositeComponentImpl

        @SafeVarargs
        public ExtendedCompositeComponentImpl​(org.refcodes.controlflow.ExecutionStrategy aStrategy,
                                              C... aComponents)
        Instantiates a new extended composite component impl.
        Parameters:
        aStrategy - the strategy
        aComponents - the components
      • ExtendedCompositeComponentImpl

        public ExtendedCompositeComponentImpl​(org.refcodes.controlflow.ExecutionStrategy aStrategy,
                                              Collection<C> aComponents)
        Instantiates a new extended composite component impl.
        Parameters:
        aStrategy - the strategy
        aComponents - the components
    • Method Detail

      • open

        public void open​(CON aConnection)
                  throws IOException
        Opens the component with the given connection.
        Specified by:
        open in interface ConnectionOpenable<C extends Component>
        Parameters:
        aConnection - The connection used for opening the connection.
        Throws:
        IOException - Thrown in case opening or accessing an open line (connection, junction, link) caused problems.