Package com.automation_pros.odva.encap
Class TcpIpPort.IOLinkProducer
- java.lang.Object
-
- com.automation_pros.odva.encap.TcpIpPort.IOLinkProducer
-
- All Implemented Interfaces:
AppLinkBase
,LinkProducer
- Enclosing class:
- TcpIpPort
public class TcpIpPort.IOLinkProducer extends java.lang.Object implements LinkProducer
-
-
Constructor Summary
Constructors Constructor Description IOLinkProducer(java.net.InetSocketAddress target, int connID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
disconnect()
When a connection is closed or an application forces a disconnect, this shutdown method is called to clean up.boolean
isDisconnected()
void
linkProduce(long txID, java.nio.ByteBuffer payload)
UDP I/O Packets don't have full encapsulation, and don't carry any transaction ID.
-
-
-
Method Detail
-
linkProduce
public void linkProduce(long txID, java.nio.ByteBuffer payload)
UDP I/O Packets don't have full encapsulation, and don't carry any transaction ID. The txID is dropped on the floor.- Specified by:
linkProduce
in interfaceLinkProducer
- Parameters:
txID
- Transport layer transaction ID uniquely identifying this message or reply, if applicable. Zero for I/O connections.payload
- Complete CIP data payload, including CIP sequence number, if any.
-
disconnect
public void disconnect()
Description copied from interface:AppLinkBase
When a connection is closed or an application forces a disconnect, this shutdown method is called to clean up. It should close the connection when called by the application.- Specified by:
disconnect
in interfaceAppLinkBase
-
isDisconnected
public boolean isDisconnected()
- Specified by:
isDisconnected
in interfaceAppLinkBase
-
-