.. java:import:: java.util UUID Component ========= .. java:package:: se.sics.kompics :noindex: .. java:type:: public interface Component extends Runnable The \ ``Component``\ class. :author: Cosmin Arad , Jim Dowling , Lars Kroll Methods ------- control ^^^^^^^ .. java:method:: public Positive control() :outertype: Component :return: the component's control port. escalateFault ^^^^^^^^^^^^^ .. java:method:: public void escalateFault(Fault fault) :outertype: Component getComponent ^^^^^^^^^^^^ .. java:method:: public ComponentDefinition getComponent() :outertype: Component getControl ^^^^^^^^^^ .. java:method:: public Positive getControl() :outertype: Component Gets the control. :return: the control port getNegative ^^^^^^^^^^^ .. java:method:: public

Negative

getNegative(Class

portType) :outertype: Component Gets the negative. :param portType: the port type :return: the negative getPositive ^^^^^^^^^^^ .. java:method:: public

Positive

getPositive(Class

portType) :outertype: Component Gets the positive. :param portType: the port type :return: the positive id ^^ .. java:method:: public UUID id() :outertype: Component provided ^^^^^^^^ .. java:method:: public

Positive

provided(Class

portType) :outertype: Component returns the \ ``portType``\ port provided by the component. :param

: :param portType: required ^^^^^^^^ .. java:method:: public

Negative

required(Class

portType) :outertype: Component returns the \ ``portType``\ port required by the component. :param

: :param portType: state ^^^^^ .. java:method:: public State state() :outertype: Component