|
|
| TAsk (const std::shared_ptr< TAskState< T > > &state) |
| void | Receive (TMessageId messageId, TBlob blob, TActorContext::TPtr ctx) override |
| | Process an incoming message.
|
| virtual void | AfterRegister (TActorContext::TPtr) |
| | Called once right after the actor is registered in the system.
|
| virtual void | BeforeUnregister (TActorContext::TPtr) |
| | Called once on PoisonPill, right before the actor is destroyed.
|
|
|
using | TPtr = std::unique_ptr<IActor> |
◆ Receive()
Process an incoming message.
- Parameters
-
| messageId | Type identifier of the message |
| blob | Serialized message data |
| ctx | Actor context for sending responses and accessing actor system |
This method should process the message quickly and not perform blocking operations. For async operations, use ICoroActor instead.
Implements NNet::NActors::IActor.
The documentation for this class was generated from the following file: