Class LocalBusPort
- java.lang.Object
-
- All Implemented Interfaces:
DataContext
,AttributeHolder
,CipMsgProcessor
,java.lang.Comparable<CipInstance>
public class LocalBusPort extends AbstractPort
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
LocalBusPort.ChassisEKeyAttr
-
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
-
-
Field Summary
Fields Modifier and Type Field Description CipBackplane
bus
int
slot
-
Fields inherited from class com.automation_pros.odva.cip.core.AbstractPort
appContext, conxlist, conxmgr, description, msgrouter, portname, portnum, porttype, producerScheduler, routing, typename
-
Fields inherited from class com.automation_pros.odva.cip.core.CipInstance
attr_all
-
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 LocalBusPort(PortMgr parent, CipBackplane bus, int port, int slot)
LocalBusPort(InstanceSeg seg, PortMgr parent, CipBackplane bus, int port, int slot)
Construct a local bus port with the given properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getSlot()
CipMsgProcessor
getUCMM(PortSeg seg)
void
shutdown()
-
Methods inherited from class com.automation_pros.odva.cip.core.AbstractPort
getConxClass, getConxMgr, getDescription, getMaxMsg, getMsgRouter, getParent, getPortMgr, getPortname, getPortnum, getPorttype, getProducerScheduler, getRouting, getTypename, send, send, setDescription, setParent, setPortnum, setRouting
-
Methods inherited from class com.automation_pros.odva.cip.core.CipInstance
compareTo, getAttribute, getEPathImpl, getSegment, isPrivate, number, service, toString
-
Methods inherited from class com.automation_pros.odva.cip.types.CipObject
executor, getChild, getDevice, getDisplayName, getName, isShutdown, logger, onReplacement, removeChildSymbol, scheduler, setChild, setChildSymbol, setName
-
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, isShutdown, logger, scheduler
-
Methods inherited from interface com.automation_pros.odva.cip.data.DataContext
fromEnum, getCtxData, getCtxDataOrNull, getTypes, makeHosted, makeUnhosted, toEnum
-
-
-
-
Field Detail
-
bus
public final CipBackplane bus
-
slot
public final int slot
-
-
Constructor Detail
-
LocalBusPort
public LocalBusPort(PortMgr parent, CipBackplane bus, int port, int slot)
-
LocalBusPort
public LocalBusPort(InstanceSeg seg, PortMgr parent, CipBackplane bus, int port, int slot)
Construct a local bus port with the given properties. Bus devices will be accessed with implicit connections (no actual message buffering).- Parameters:
seg
- Indicates the instance number to create/replace, or null to use the lowest available instance.parent
- A Port Manager class objectbus
- The bus instance that manages slots and chassis properties.port
- The port number in the parent device. Non-zero.slot
- The slot number in the bus to occupy.
-
-
Method Detail
-
getSlot
public int getSlot()
-
shutdown
public void shutdown()
- Specified by:
shutdown
in interfaceAttributeHolder
- Overrides:
shutdown
in classAbstractPort
-
getUCMM
public CipMsgProcessor getUCMM(PortSeg seg)
- Specified by:
getUCMM
in classAbstractPort
-
-