Interface ContextFactory


  • public interface ContextFactory
    Factory to create Context instances.
    • Method Detail

      • createContext

        Context createContext​(long transactionId,
                              String operationHandle,
                              InstanceIdentifier invocationSource,
                              EventSourceAccess eventSourceAccess,
                              LocalMdibAccess mdibAccess)
        Creates a new Context instance.
        Parameters:
        transactionId - transaction id that is requestable and used to create reports. Uniqueness shall be assured by the caller.
        operationHandle - the handle of operation this context belongs to.
        invocationSource - the instance identifier used to add as invocation source to reports.
        eventSourceAccess - the event source access to send report notifications.
        mdibAccess - the MDIB access be used to read and/or modify on function callback.
        Returns:
        the new instance.