Package se.sics.kompics
Class PortCore<P extends PortType>
java.lang.Object
se.sics.kompics.PortCore<P>
- Direct Known Subclasses:
JavaPort
public abstract class PortCore<P extends PortType> extends Object implements Negative<P>, Positive<P>
The
PortCore
class.
- Version:
- $Id: $
- Author:
- Cosmin Arad <[email protected]>, Jim Dowling <[email protected]>, Lars Kroll <[email protected]>
-
Field Summary
Fields Modifier and Type Field Description protected boolean
isControlPort
protected boolean
isPositive
protected ComponentCore
owner
protected P
portType
-
Constructor Summary
Constructors Constructor Description PortCore()
-
Method Summary
Modifier and Type Method Description abstract void
cleanChannels()
abstract void
cleanEvents()
abstract List<Channel<P>>
findChannelsTo(PortCore<P> port)
ComponentCore
getOwner()
P
getPortType()
Gets the port type.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface se.sics.kompics.Port
addChannel, addChannel, doSubscribe, doSubscribe, doTrigger, doTrigger, enqueue, getPair, removeChannel, setPair
-
Field Details
-
Constructor Details
-
Method Details
-
getPortType
Description copied from interface:Port
Gets the port type.- Specified by:
getPortType
in interfacePort<P extends PortType>
- Returns:
- the port type
-
getOwner
-
cleanChannels
-
cleanEvents
-
findChannelsTo
-