Class PushEngine.Config

java.lang.Object
com.iizix.server.push.engine.PushEngine.Config
Enclosing class:
PushEngine

public static final class PushEngine.Config extends Object
The collaborators of an engine, so that a test can build one without a server.
Author:
Christopher Mindus
  • Field Details

    • settings

      public IPushSettings settings
      The settings.
    • store

      public SubscriptionStore store
      The store.
    • users

      public UserDirectory users
      The user directory.
    • configs

      public AppPushConfigs configs
      The application configurations.
    • spool

      public PushSpool spool
      The spool.
    • transports

      public Map<PushTransport, IPushTransport> transports
      The transports by kind; a missing kind reports not configured.
    • sessions

      The session enumerator.
    • geo

      The locator.
    • inSession

      public IInSessionDelivery inSession
      The in-session seam.
    • httpClient

      public HttpClient httpClient
      The Jetty client the engine owns and stops, null for none.
    • clock

      public Clock clock
      The clock, carrying the server's zone for the spool's timestamps; a test may supply its own.
    • events

      public PushEvents events
      The events of the sessions' Push Notification listeners: the store's and the engine's (P4-04).
    • credentials

      public PushCredentials credentials
      The credentials file and the users registered from Java (PUSH-CREDENTIALS.md); null: from the JVM's configuration, PushCredentials.fromConfiguration().
    • keyFiles

      public PushKeyFiles keyFiles
      The key files (PUSH-KEYFILES-DESIGN.md); null: the JVM's configuration, or the credentials' own when they were supplied.
  • Constructor Details

    • Config

      public Config()