Package com.automation_pros.odva.encap
Class TcpIpPort.McastLinkConsumer
- java.lang.Object
-
- com.automation_pros.odva.encap.TcpIpPort.IOLinkConsumer
-
- com.automation_pros.odva.encap.TcpIpPort.McastLinkConsumer
-
- All Implemented Interfaces:
AppLinkBase
,LinkConsumer
- Enclosing class:
- TcpIpPort
public class TcpIpPort.McastLinkConsumer extends TcpIpPort.IOLinkConsumer
-
-
Field Summary
Fields Modifier and Type Field Description java.net.InetAddress
group
-
Fields inherited from class com.automation_pros.odva.encap.TcpIpPort.IOLinkConsumer
disconnectFlag, link, sender
-
-
Constructor Summary
Constructors Constructor Description McastLinkConsumer(LinkConsumer link, java.net.InetSocketAddress sender, java.net.InetAddress mca, int consID)
-
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.protected void
finalize()
boolean
isShutdown()
-
Methods inherited from class com.automation_pros.odva.encap.TcpIpPort.IOLinkConsumer
isDisconnected, linkConsume
-
-
-
-
Constructor Detail
-
McastLinkConsumer
public McastLinkConsumer(LinkConsumer link, java.net.InetSocketAddress sender, java.net.InetAddress mca, int consID)
-
-
Method Detail
-
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
- Overrides:
disconnect
in classTcpIpPort.IOLinkConsumer
-
isShutdown
public boolean isShutdown()
-
finalize
protected void finalize() throws java.lang.Throwable
- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
-
-