class ServiceHandler extends Actor with ServiceHandlerLogic with MessageBussSupport
Created by kristofer on 2017-02-27.
Monitors services and keeps track if they are removed or not behaving.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ServiceHandler
- MessageBussSupport
- ServiceHandlerLogic
- Actor
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ServiceHandler()
Type Members
-
type
Receive = PartialFunction[Any, Unit]
- Definition Classes
- Actor
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
aTick(): Map[String, StatusResponse]
- Definition Classes
- ServiceHandlerLogic
-
def
addResponse(resp: StatusResponse, sender: ActorRef): Boolean
- Definition Classes
- ServiceHandlerLogic
-
def
aroundPostRestart(reason: Throwable): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
-
def
aroundPostStop(): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
-
def
aroundPreRestart(reason: Throwable, message: Option[Any]): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
-
def
aroundPreStart(): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
-
def
aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
implicit
val
context: ActorContext
- Definition Classes
- Actor
-
def
createName(x: StatusResponse): String
- Definition Classes
- ServiceHandlerLogic
-
def
deathWatch(actor: ActorRef): Map[String, StatusResponse]
- Definition Classes
- ServiceHandlerLogic
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
init: Unit
- Definition Classes
- MessageBussSupport
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
postRestart(reason: Throwable): Unit
- Definition Classes
- Actor
- Annotations
- @throws( classOf[java.lang.Exception] )
-
def
postStop(): Unit
- Definition Classes
- Actor
- Annotations
- @throws( classOf[java.lang.Exception] )
-
def
preRestart(reason: Throwable, message: Option[Any]): Unit
- Definition Classes
- Actor
- Annotations
- @throws( classOf[java.lang.Exception] )
-
def
preStart(): Unit
- Definition Classes
- Actor
- Annotations
- @throws( classOf[java.lang.Exception] )
-
def
publish(topic: String, json: String): Unit
- Definition Classes
- MessageBussSupport
-
def
receive: PartialFunction[Any, Unit]
- Definition Classes
- ServiceHandler → Actor
-
def
removeService(sR: StatusResponse): Unit
- Definition Classes
- ServiceHandlerLogic
-
implicit final
val
self: ActorRef
- Definition Classes
- Actor
- def sendAnswer(h: SPHeader, b: Response): Unit
- def sendReq(h: SPHeader, b: APISP): Unit
-
final
def
sender(): ActorRef
- Definition Classes
- Actor
-
val
services: Map[String, (StatusResponse, ActorRef)]
- Definition Classes
- ServiceHandlerLogic
-
def
subscribe(topic: String): Unit
- Definition Classes
- MessageBussSupport
-
def
supervisorStrategy: SupervisorStrategy
- Definition Classes
- Actor
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val ticker: Cancellable
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unhandled(message: Any): Unit
- Definition Classes
- Actor
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
val
waitingResponse: Map[String, StatusResponse]
- Definition Classes
- ServiceHandlerLogic
- object Tick extends Product with Serializable