KlusterKite
0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
|
Manager that handles sending parcels More...
Public Member Functions | |
ParcelManagerActor (IComponentContext container) | |
Initializes a new instance of the ParcelManagerActor class. More... | |
Protected Member Functions | |
override void | PostStop () |
User overridable callback. More... | |
override void | PreRestart (Exception reason, object message) |
User overridable callback: '''By default it disposes of all children and then calls postStop() .''' More... | |
override void | PreStart () |
User overridable callback. More... | |
Manager that handles sending parcels
Should be singleton in local system. In case of system failure all parcells will be lost. Try to avoid using this, as this is really slow and large messages typically means some errors in software design.
Definition at line 43 of file ParcelManagerActor.cs.
KlusterKite.LargeObjects.ParcelManagerActor.ParcelManagerActor | ( | IComponentContext | container | ) |
Initializes a new instance of the ParcelManagerActor class.
container | The DI container. |
Definition at line 91 of file ParcelManagerActor.cs.
|
protected |
User overridable callback.
Is called asynchronously after 'actor.stop()' is invoked. Empty default implementation.
Definition at line 110 of file ParcelManagerActor.cs.
|
protected |
User overridable callback: '''By default it disposes of all children and then calls postStop()
.'''
Is called on a crashed Actor right BEFORE it is restarted to allow clean up of resources before Actor is terminated.
reason | the Exception that caused the restart to happen. |
message | optionally the current message the actor processed when failing, if applicable. |
Definition at line 126 of file ParcelManagerActor.cs.
|
protected |
User overridable callback.
Is called when an Actor is started. Actors are automatically started asynchronously when created. Empty default implementation.
Definition at line 141 of file ParcelManagerActor.cs.