class AlarmServiceFactory extends AnyRef
Factory to create AlarmService
- Alphabetic
- By Inheritance
- AlarmServiceFactory
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new AlarmServiceFactory()
A java helper to construct AlarmServiceFactory
- new AlarmServiceFactory(redisClient: RedisClient = RedisClient.create())
Value Members
- def jMakeClientApi(host: String, port: Int, system: ActorSystem[_]): IAlarmService
Creates csw.alarm.api.javadsl.IAlarmService instance for non admin users using host and port of alarm server
Creates csw.alarm.api.javadsl.IAlarmService instance for non admin users using host and port of alarm server
- host
of the alarm server
- port
on which alarm server is running
- system
an actor system required for underlying actors
- returns
an instance of csw.alarm.api.javadsl.IAlarmService
- def jMakeClientApi(locationService: ILocationService, system: ActorSystem[_]): IAlarmService
Creates csw.alarm.api.javadsl.IAlarmService instance for non admin users using csw.location.api.javadsl.ILocationService
Creates csw.alarm.api.javadsl.IAlarmService instance for non admin users using csw.location.api.javadsl.ILocationService
- locationService
instance which will be used to resolve the location of alarm server
- system
an actor system required for underlying actors
- returns
an instance of csw.alarm.api.javadsl.IAlarmService
- def makeAdminApi(host: String, port: Int)(implicit system: ActorSystem[_]): AlarmAdminService
Creates csw.alarm.api.scaladsl.AlarmAdminService instance for admin users using host port of alarm server
Creates csw.alarm.api.scaladsl.AlarmAdminService instance for admin users using host port of alarm server
- host
of the alarm server
- port
on which alarm server is running
- system
an actor system required for underlying actors
- returns
an instance of csw.alarm.api.scaladsl.AlarmAdminService
- def makeAdminApi(locationService: LocationService)(implicit system: ActorSystem[_]): AlarmAdminService
Creates csw.alarm.api.scaladsl.AlarmAdminService instance for admin users using csw.location.api.scaladsl.LocationService
Creates csw.alarm.api.scaladsl.AlarmAdminService instance for admin users using csw.location.api.scaladsl.LocationService
- locationService
instance which will be used to resolve the location of alarm server
- system
an actor system required for underlying actors
- returns
an instance of csw.alarm.api.scaladsl.AlarmAdminService
- def makeClientApi(host: String, port: Int)(implicit system: ActorSystem[_]): AlarmService
Creates csw.alarm.api.scaladsl.AlarmService instance for non admin users using host and port of alarm server
Creates csw.alarm.api.scaladsl.AlarmService instance for non admin users using host and port of alarm server
- host
of the alarm server
- port
on which alarm server is running
- system
an actor system required for underlying actors
- returns
an instance of csw.alarm.api.scaladsl.AlarmService
- def makeClientApi(locationService: LocationService)(implicit system: ActorSystem[_]): AlarmService
Creates csw.alarm.api.scaladsl.AlarmService instance for non admin users using csw.location.api.scaladsl.LocationService
Creates csw.alarm.api.scaladsl.AlarmService instance for non admin users using csw.location.api.scaladsl.LocationService
- locationService
instance which will be used to resolve the location of alarm server
- system
an actor system required for underlying actors
- returns
an instance of csw.alarm.api.scaladsl.AlarmService