public class TimeStamper extends java.lang.Object implements Component, StringConsumerPort
| Constructor and Description |
|---|
TimeStamper()
CCA Component must have a null constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setServices(Services svc)
Services implementation: this is the one and only method that
makes this component a CCAComponent.
|
void |
setString(java.lang.String s)
Implements the StringConsumerPort: takes a given string Stamps
it with the time and shoves it out the UsesPort "out0".
|
public void setServices(Services svc)
setServices in interface Componentpublic void setString(java.lang.String s)
setString in interface StringConsumerPort