|
||||||||||
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.KepWrapper
public class KepWrapper
JNI wrapper for the Kiel Esterel Processor.
Constructor Summary | |
---|---|
KepWrapper()
Connect to KEP simulation and reset the KEP. |
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 KepWrapper()
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 void saveEsi(String esiFile)
saveEsi
in interface IKrepWrapper
esiFile
- name of the log Filepublic void comment(String comment)
comment
in interface IKrepWrapper
comment
- comment to send to the processor (used for logging)public String getName()
getName
in interface IKrepWrapper
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |