Package com.automation_pros.odva.encap
Class TcpConx.EncapFwdOpen
- java.lang.Object
-
- com.automation_pros.odva.encap.TcpConx.EncapFwdOpen
-
- All Implemented Interfaces:
CipReplyConsumer
- Enclosing class:
- TcpConx
public class TcpConx.EncapFwdOpen extends java.lang.Object implements CipReplyConsumer
When processing a Forward Open reply that arrived on an encapsulation connection, and it is both successful and non-null, the associated connection must be created in the port and attached to the reply for later consumers.To make this work, this reply consumer is be inserted at the head of the callback chain and given the encapsulation packet (for any socket items involved). The result connection will then be available for later callbacks.
-
-
Constructor Summary
Constructors Constructor Description EncapFwdOpen(EncapData packet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(CipReply reply)
-
-
-
Field Detail
-
packet
protected final EncapData packet
-
-
Constructor Detail
-
EncapFwdOpen
public EncapFwdOpen(EncapData packet)
-
-
Method Detail
-
accept
public void accept(CipReply reply)
- Specified by:
accept
in interfaceCipReplyConsumer
-
-