harmonize MyActor.props pattern, see #3418

This commit is contained in:
Patrik Nordwall 2013-05-30 14:03:35 +02:00
parent 92db59183e
commit 07baf05bae
11 changed files with 24 additions and 27 deletions

View file

@ -91,7 +91,7 @@ public class SslDocTest {
// create handler for pipeline, setting ourselves as payload recipient
final ActorRef handler = getContext().actorOf(
TcpPipelineHandler.create(init, getSender(), getSelf()));
TcpPipelineHandler.props(init, getSender(), getSelf()));
// register the SSL handler with the connection
getSender().tell(TcpMessage.register(handler), getSelf());
@ -156,7 +156,7 @@ public class SslDocTest {
// create handler for pipeline, setting ourselves as payload recipient
final ActorRef handler = getContext().actorOf(
TcpPipelineHandler.create(init, getSender(), getSelf()));
TcpPipelineHandler.props(init, getSender(), getSelf()));
// register the SSL handler with the connection
getSender().tell(TcpMessage.register(handler), getSelf());