|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.cca.eg.component.TimeStamper
public class TimeStamper
A CCA component that implements and provides StringConsumerPort, and uses a StringConsumerPort.
Constructor Summary | |
---|---|
TimeStamper()
CCA Component must have a null constructor. |
Method Summary | |
---|---|
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". |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimeStamper()
Method Detail |
---|
public void setServices(Services svc)
setServices
in interface Component
public void setString(java.lang.String s)
setString
in interface StringConsumerPort
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |