Skip to content

Commit

Permalink
fixed inverted ads pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
sruehl committed Apr 19, 2018
1 parent bcf9cb4 commit d4868e2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ protected ChannelHandler getChannelHandler(CompletableFuture<Void> sessionSetupC
protected void initChannel(Channel channel) {
// Build the protocol stack for communicating with the ads protocol.
ChannelPipeline pipeline = channel.pipeline();
pipeline.addLast(new Plc4x2AdsProtocol(targetAmsNetId, targetAmsPort, sourceAmsNetId, sourceAmsPort));
pipeline.addLast(new Ads2PayloadProtocol());
pipeline.addLast(new Payload2TcpProtocol());
pipeline.addLast(new Ads2PayloadProtocol());
pipeline.addLast(new Plc4x2AdsProtocol(targetAmsNetId, targetAmsPort, sourceAmsNetId, sourceAmsPort));
}
};
}
Expand Down

0 comments on commit d4868e2

Please sign in to comment.