Class PortMgr
- 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.cip.core.PortMgr
-
- All Implemented Interfaces:
DataContext
,AttributeHolder
,InstanceHolder
public class PortMgr extends CipClass
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
PortMgr.PortListAttr
-
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 Modifier and Type Field Description protected java.util.concurrent.atomic.AtomicInteger
nextConxSN
protected java.util.Map<java.lang.Integer,java.lang.ref.WeakReference<ConxInstance>>
originatorMap
protected java.util.Map<java.lang.Short,AbstractPort>
ports
-
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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractPort
getInstance(int inst)
AbstractPort
getPort(short portnum)
java.util.List<AbstractPort>
getPorts()
void
setPort(short portnum, AbstractPort port)
void
setTriad(FwdOpenReq fopen)
void
shutdown()
-
Methods inherited from class com.automation_pros.odva.cip.core.CipClass
getAttribute, getAutoInstanceNumber, getEPathImpl, getInstances, getMaxInstance, getNumInstances, getRevision, getSegment, service
-
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
-
-
-
-
Field Detail
-
ports
protected final java.util.Map<java.lang.Short,AbstractPort> ports
-
originatorMap
protected final java.util.Map<java.lang.Integer,java.lang.ref.WeakReference<ConxInstance>> originatorMap
-
nextConxSN
protected java.util.concurrent.atomic.AtomicInteger nextConxSN
-
-
Constructor Detail
-
PortMgr
public PortMgr(CipDevice parent)
-
-
Method Detail
-
shutdown
public void shutdown()
- Specified by:
shutdown
in interfaceAttributeHolder
- Overrides:
shutdown
in classCipClass
-
getPort
public AbstractPort getPort(short portnum)
-
setPort
public void setPort(short portnum, AbstractPort port)
-
setTriad
public void setTriad(FwdOpenReq fopen)
-
getInstance
public AbstractPort getInstance(int inst)
- Specified by:
getInstance
in interfaceInstanceHolder
- Overrides:
getInstance
in classCipClass
-
getPorts
public java.util.List<AbstractPort> getPorts()
-
-