public class VoiceChannel extends AbstractChannel
channelID, subscribers| Constructor and Description |
|---|
VoiceChannel(Config config,
int channelID,
StandardWorldModel world)
Create a VoiceChannel.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
pushImpl(AKSpeak speak,
int originalSize)
Push a message after input noise has been applied.
|
void |
timestep()
Notify the channel that a timestep has elapsed.
|
java.lang.String |
toString() |
addMessageForAgent, addMessageForSubscribers, addSubscriber, getMessagesForAgent, getSubscribers, isSubscribed, push, removeSubscriber, setInputNoise, setOutputNoisepublic VoiceChannel(Config config, int channelID, StandardWorldModel world)
config - The configuration to read.channelID - The id of this channel.world - The world model.public void timestep()
Channeltimestep in interface Channeltimestep in class AbstractChannelprotected void pushImpl(AKSpeak speak, int originalSize) throws InvalidMessageException
AbstractChannelpushImpl in class AbstractChannelspeak - The message.InvalidMessageException - If the message is invalid.public java.lang.String toString()
toString in class java.lang.Object