public class SimsparkLogfileWriterChannel extends SimsparkChannel
Constructor and Description |
---|
SimsparkLogfileWriterChannel(IChannelManager manager,
ChannelParameters info,
java.io.File perceptionFile,
java.io.File actionFile) |
Modifier and Type | Method and Description |
---|---|
void |
stopChannel() |
init
sendMessage
getLastErrorMessage, getNumberOfReceivedMessages, startChannel, update
getConnectionState, getManager, isConnected
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConnectionState, isConnected, startChannel
public SimsparkLogfileWriterChannel(IChannelManager manager, ChannelParameters info, java.io.File perceptionFile, java.io.File actionFile)
manager
- the channel manager to report toinfo
- configuration information for the channelperceptionFile
- the file to write perceptions to, null if no
perceptions should be loggedactionFile
- the file to write actions to, null if no actions should
be loggedpublic void stopChannel()
stopChannel
in interface IChannel
stopChannel
in class ConnectionChannel