Class S7HSingleProtocolStackConfigurer<BASE_PACKET_CLASS extends Message>
- java.lang.Object
-
- org.apache.plc4x.java.s7.readwrite.protocol.S7HSingleProtocolStackConfigurer<BASE_PACKET_CLASS>
-
- All Implemented Interfaces:
ProtocolStackConfigurer<BASE_PACKET_CLASS>
public class S7HSingleProtocolStackConfigurer<BASE_PACKET_CLASS extends Message> extends Object implements ProtocolStackConfigurer<BASE_PACKET_CLASS>
Builds a Protocol Stack.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classS7HSingleProtocolStackConfigurer.S7HSingleProtocolStackBuilder<BASE_PACKET_CLASS extends Message>Used to Build Instances ofSingleProtocolStackConfigurer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <BPC extends Message>
S7HSingleProtocolStackConfigurer.S7HSingleProtocolStackBuilder<BPC>builder(Class<BPC> basePacketClass, MessageInput<BPC> messageInput)static <BPC extends Message>
S7HSingleProtocolStackConfigurer.S7HSingleProtocolStackBuilder<BPC>builder(Class<BPC> basePacketClass, MessageInput<BPC> messageInput, MessageOutput<BPC> messageOutput)Plc4xProtocolBase<BASE_PACKET_CLASS>configurePipeline(PlcConnectionConfiguration configuration, io.netty.channel.ChannelPipeline pipeline, PlcAuthentication authentication, boolean passive, List<EventListener> listeners)Applies the given Stack to the Pipeline
-
-
-
Method Detail
-
builder
public static <BPC extends Message> S7HSingleProtocolStackConfigurer.S7HSingleProtocolStackBuilder<BPC> builder(Class<BPC> basePacketClass, MessageInput<BPC> messageInput)
-
builder
public static <BPC extends Message> S7HSingleProtocolStackConfigurer.S7HSingleProtocolStackBuilder<BPC> builder(Class<BPC> basePacketClass, MessageInput<BPC> messageInput, MessageOutput<BPC> messageOutput)
-
configurePipeline
public Plc4xProtocolBase<BASE_PACKET_CLASS> configurePipeline(PlcConnectionConfiguration configuration, io.netty.channel.ChannelPipeline pipeline, PlcAuthentication authentication, boolean passive, List<EventListener> listeners)
Applies the given Stack to the Pipeline- Specified by:
configurePipelinein interfaceProtocolStackConfigurer<BASE_PACKET_CLASS extends Message>
-
-