Class OpsManager
java.lang.Object
akka.actor.AbstractActor
org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor
org.opendaylight.controller.remote.rpc.OpsManager
- All Implemented Interfaces:
Actor
,ExecuteInSelfActor
This class acts as a supervisor, creates all the actors, resumes them, if an exception is thrown. It also registers
OpsListener
with the local DOMRpcService
.-
Nested Class Summary
Nested classes/interfaces inherited from class akka.actor.AbstractActor
AbstractActor.ActorContext, AbstractActor.Receive
Nested classes/interfaces inherited from interface akka.actor.Actor
Actor.emptyBehavior$, Actor.ignoringBehavior$
-
Field Summary
Fields inherited from class org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor
LOG
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
handleReceive
(Object message) Receive and handle an incoming message.void
postStop()
void
preStart()
static Props
props
(DOMRpcProviderService rpcProvisionRegistry, DOMRpcService rpcServices, RemoteOpsProviderConfig config, DOMActionProviderService actionProviderService, DOMActionService actionService) Methods inherited from class org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor
createReceive, executeInSelf, ignoreMessage, isValidSender, unknownMessage
Methods inherited from class akka.actor.AbstractActor
akka$actor$Actor$_setter_$context_$eq, akka$actor$Actor$_setter_$self_$eq, aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, emptyBehavior, getContext, getSelf, getSender, postRestart, preRestart, preRestart, receive, receiveBuilder, self, sender, unhandled
-
Method Details
-
props
public static Props props(DOMRpcProviderService rpcProvisionRegistry, DOMRpcService rpcServices, RemoteOpsProviderConfig config, DOMActionProviderService actionProviderService, DOMActionService actionService) -
preStart
- Specified by:
preStart
in interfaceActor
- Overrides:
preStart
in classAbstractActor
- Throws:
Exception
-
postStop
- Specified by:
postStop
in interfaceActor
- Overrides:
postStop
in classAbstractActor
- Throws:
Exception
-
handleReceive
Description copied from class:AbstractUntypedActor
Receive and handle an incoming message. If the implementation does not handle this particular message, it should callAbstractUntypedActor.ignoreMessage(Object)
orAbstractUntypedActor.unknownMessage(Object)
.- Specified by:
handleReceive
in classAbstractUntypedActor
- Parameters:
message
- the incoming message
-
supervisorStrategy
- Specified by:
supervisorStrategy
in interfaceActor
- Overrides:
supervisorStrategy
in classAbstractActor
-