public class TerminalIOComponent extends MixedComponent implements AudioPlayer.AudioPlayerListener
| Constructor and Description |
|---|
TerminalIOComponent(java.lang.String outboundPort,
ComponentConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
audioPlayerStatusUpdated(java.lang.String audioLabel,
AudioPlayer.AudioPlayerEvent event)
checks the status of audio data player when updated (event: start, stop)
|
void |
close()
Closes terminal, output writer and audio player and stop running process.
|
void |
definePublishedData()
Checking type of output data.
|
void |
defineReceivedData()
Checking type of input data
|
public TerminalIOComponent(java.lang.String outboundPort,
ComponentConfig config)
public void audioPlayerStatusUpdated(java.lang.String audioLabel,
AudioPlayer.AudioPlayerEvent event)
audioPlayerStatusUpdated in interface AudioPlayer.AudioPlayerListenerpublic void defineReceivedData()
public void definePublishedData()
public void close()