Interface ContextFactory
-
public interface ContextFactoryFactory to create Context instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContextcreateContext(long transactionId, String operationHandle, InstanceIdentifier invocationSource, EventSourceAccess eventSourceAccess, LocalMdibAccess mdibAccess)Creates a new Context instance.
-
-
-
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.
-
-