public OmnibusContext(OmnibusParameters parameters, OmnibusDependencies dependencies, OmnibusConfiguration configuration, OmnibusHooks hooks) { this.parameters = parameters; this.dependencies = dependencies; this.hooks = hooks; this.configuration = configuration; reservations = new OmnibusReservationCollection(configuration.LeaseDuration); queue = new LeakQueue <OmnibusContext>(this); states = new OmnibusStateCollection(); bitfields = new OmnibusBitfieldCollection(); }
public OmnibusService(OmnibusParameters parameters, OmnibusDependencies dependencies, OmnibusConfiguration configuration, OmnibusHooks hooks) { context = new OmnibusContext(parameters, dependencies, configuration, hooks); }
public OmnibusBuilder() { parameters = new OmnibusParameters(); dependencies = new OmnibusDependencies(); configuration = new OmnibusConfiguration(); }