public class ChannelManager extends java.lang.Object implements IChannelManager
IChannelManager.ChannelManagerStatus
Constructor and Description |
---|
ChannelManager() |
Modifier and Type | Method and Description |
---|---|
void |
addInputChannel(IInputChannel channel,
boolean isMainChannel) |
void |
addOutputChannel(IOutputChannel channel) |
void |
addPerceptors(java.util.Map<java.lang.String,IPerceptor> newPerceptors) |
java.util.Map<java.lang.String,IPerceptor> |
getNextPerceptorMap() |
IChannelManager.ChannelManagerStatus |
getStatus() |
boolean |
isConnected() |
void |
lostConnection(IInputChannel channel)
Called if a connection of an input channel is lost
|
void |
performAction(java.util.Map<java.lang.String,IEffector> effectors) |
boolean |
start() |
void |
stop() |
java.lang.String |
toString() |
public void addPerceptors(java.util.Map<java.lang.String,IPerceptor> newPerceptors)
addPerceptors
in interface IChannelManager
public java.util.Map<java.lang.String,IPerceptor> getNextPerceptorMap()
getNextPerceptorMap
in interface IChannelManager
public void performAction(java.util.Map<java.lang.String,IEffector> effectors)
performAction
in interface IActionPerformer
public void addInputChannel(IInputChannel channel, boolean isMainChannel)
addInputChannel
in interface IChannelManager
public void addOutputChannel(IOutputChannel channel)
addOutputChannel
in interface IChannelManager
public boolean start()
start
in interface IChannelManager
public void stop()
stop
in interface IChannelManager
public boolean isConnected()
isConnected
in interface IChannelManager
public void lostConnection(IInputChannel channel)
IChannelManager
lostConnection
in interface IChannelManager
public IChannelManager.ChannelManagerStatus getStatus()
getStatus
in interface IChannelManager
public java.lang.String toString()
toString
in class java.lang.Object