Closed DimaSalakhov closed 8 years ago
@self returns ActorRef which cannot be casted to PulsarActor. currentActor() on the other hand returns Actor, which can be casted.
@self
currentActor()
Thanks, so this fixes a ClassCastException? Could you also add a test case?
ClassCastException
Thanks!
@self
returns ActorRef which cannot be casted to PulsarActor.currentActor()
on the other hand returns Actor, which can be casted.