|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.krep.evalbench.comm.KlpWrapper
public class KlpWrapper
Wrapper to software simulation of the Kiel Lustre Processor.
Constructor Summary | |
---|---|
KlpWrapper()
Generate new connection to KLP and reset the KLP. |
Method Summary | |
---|---|
void |
comment(String comment)
|
String |
getName()
|
byte |
getOutput()
|
boolean |
hasOutput()
|
void |
saveEsi(String esiFile)
Tell the processor to log the communication into a log-File in esi Format. |
void |
send(byte b)
|
void |
step()
perform one tick. |
void |
terminate()
Close the connection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KlpWrapper()
Method Detail |
---|
public void terminate()
terminate
in interface IKrepWrapper
public boolean hasOutput()
hasOutput
in interface IKrepWrapper
public byte getOutput()
getOutput
in interface IKrepWrapper
public void step()
step
in interface IKrepWrapper
public void send(byte b)
send
in interface IKrepWrapper
b
- byte to send to the processorpublic final void saveEsi(String esiFile)
saveEsi
in interface IKrepWrapper
esiFile
- name of the log Filepublic String getName()
getName
in interface IKrepWrapper
public void comment(String comment)
comment
in interface IKrepWrapper
comment
- comment to send to the processor (used for logging)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |