abstract class Port extends PortType
The base class for a port type.
To declare a new port type, extend this class in an object and then define the signature for the port, for example:
object TestPort extends Port { request[TestEventClass]; request(TestEventObject); indication[TestEventClass2]; indication(TestEventObject2); }
- Alphabetic
- By Inheritance
- Port
- PortType
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Port()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Port, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def ensuring(cond: (Port) => Boolean, msg: => Any): Port
- def ensuring(cond: (Port) => Boolean): Port
- def ensuring(cond: Boolean, msg: => Any): Port
- def ensuring(cond: Boolean): Port
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def hasEvent(arg0: Boolean, arg1: Class[_ <: kompics.KompicsEvent]): Boolean
- Definition Classes
- PortType
- final def hasNegative(arg0: Class[_ <: kompics.KompicsEvent]): Boolean
- Definition Classes
- PortType
- final def hasPositive(arg0: Class[_ <: kompics.KompicsEvent]): Boolean
- Definition Classes
- PortType
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def indication(event: KompicsEvent): Unit
Declate the given event object as an indication on this port.
Declate the given event object as an indication on this port.
- event
the event object to be declared
- def indication[E <: KompicsEvent](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[E]): Unit
Declate the given event type as an indication on this port.
Declate the given event type as an indication on this port.
- E
the event type to be declared
- final def indication(arg0: Class[_ <: kompics.KompicsEvent]): Unit
- Attributes
- protected[kompics]
- Definition Classes
- PortType
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def negative(arg0: Class[_ <: kompics.KompicsEvent]): Unit
- Attributes
- protected[kompics]
- Definition Classes
- PortType
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def positive(arg0: Class[_ <: kompics.KompicsEvent]): Unit
- Attributes
- protected[kompics]
- Definition Classes
- PortType
- def request(event: KompicsEvent): Unit
Declate the given event object as a request on this port.
Declate the given event object as a request on this port.
- event
the event object to be declared
- def request[E <: KompicsEvent](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[E]): Unit
Declate the given event type as a request on this port.
Declate the given event type as a request on this port.
- E
the event type to be declared
- final def request(arg0: Class[_ <: kompics.KompicsEvent]): Unit
- Attributes
- protected[kompics]
- Definition Classes
- PortType
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toString(): String
- Definition Classes
- PortType → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.
- def →[B](y: B): (Port, B)
- Implicit
- This member is added by an implicit conversion from Port toArrowAssoc[Port] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.