withProtocolController method
Register a protocol controller to handle a sequence of messages. See ProcolController
for more details.
Implementation
ActorBuilder withProtocolController(ProtocolController controller) {
_conditions.add(_Condition(
controller.predicate,
controller.actor,
));
return this;
}