harmonize MyActor.props pattern, see #3418
This commit is contained in:
parent
92db59183e
commit
07baf05bae
11 changed files with 24 additions and 27 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue