Package com.automation_pros.odva.encap
Class EthernetMgr
- java.lang.Object
-
- com.automation_pros.odva.cip.types.CipTree
-
- com.automation_pros.odva.cip.types.CipTreeCtx
-
- com.automation_pros.odva.cip.types.CipObject
-
- com.automation_pros.odva.cip.core.CipClass
-
- com.automation_pros.odva.encap.EthernetMgr
-
- All Implemented Interfaces:
DataContext
,AttributeHolder
,InstanceHolder
public class EthernetMgr extends CipClass
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.automation_pros.odva.cip.types.CipObject
CipObject.FutureMultipleReply
-
Nested classes/interfaces inherited from class com.automation_pros.odva.cip.types.CipTree
CipTree.ChildMap
-
Nested classes/interfaces inherited from interface com.automation_pros.odva.cip.types.InstanceHolder
InstanceHolder.InstanceHolderDelegate, InstanceHolder.MaxInstData, InstanceHolder.NumInstData
-
-
Field Summary
-
Fields inherited from class com.automation_pros.odva.cip.core.CipClass
attr_all, classCode, delegate, mxclsattr, mxinstattr, revision
-
Fields inherited from class com.automation_pros.odva.cip.types.CipTree
children, objEPath, parent, segment
-
Fields inherited from interface com.automation_pros.odva.cip.data.DataContext
emptyContext
-
-
Constructor Summary
Constructors Constructor Description EthernetMgr(CipDevice parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnetInstance
getInstance(int inst)
EnetInstance
getInterfaceForAddress(java.net.InetAddress inetaddr)
The TCP/IP Object must report an EPath to the Ethernet object instance it is attached to.-
Methods inherited from class com.automation_pros.odva.cip.core.CipClass
getAttribute, getAutoInstanceNumber, getEPathImpl, getInstances, getMaxInstance, getNumInstances, getRevision, getSegment, service, shutdown
-
Methods inherited from class com.automation_pros.odva.cip.types.CipObject
executor, getChild, getDevice, getDisplayName, getName, getParent, isShutdown, logger, onReplacement, removeChildSymbol, scheduler, setChild, setChildSymbol, setName, setParent, toString
-
Methods inherited from class com.automation_pros.odva.cip.types.CipTreeCtx
getCtxDataImpl, getNamedDef, getParentDataCtx, getTypeByCRC, getTypeByName, getTypesImpl
-
Methods inherited from class com.automation_pros.odva.cip.types.CipTree
cleanup, entrySet, follow, getChildren, getEPath, keySet, removeChild, setSegment
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.automation_pros.odva.cip.types.AttributeHolder
executor, getChild, getDisplayName, getEPath, getParent, isShutdown, logger, scheduler
-
Methods inherited from interface com.automation_pros.odva.cip.data.DataContext
fromEnum, getCtxData, getCtxDataOrNull, getTypes, makeHosted, makeUnhosted, toEnum
-
-
-
-
Constructor Detail
-
EthernetMgr
public EthernetMgr(CipDevice parent)
-
-
Method Detail
-
getInterfaceForAddress
public EnetInstance getInterfaceForAddress(java.net.InetAddress inetaddr)
The TCP/IP Object must report an EPath to the Ethernet object instance it is attached to. Since it can change at any time, every read of that attribute calls this lookup to select or create the required instance.- Parameters:
inetaddr
- The internet address assigned to a local interface.- Returns:
- The Cip Object that describes the network interface.
-
getInstance
public EnetInstance getInstance(int inst)
- Specified by:
getInstance
in interfaceInstanceHolder
- Overrides:
getInstance
in classCipClass
-
-