org.jactr.modules.pm.common.memory.event
Class ActivePerceptEvent
java.lang.Object
org.jactr.core.event.AbstractACTREvent<IPerceptualMemory,IActivePerceptListener>
org.jactr.modules.pm.common.memory.event.ActivePerceptEvent
- All Implemented Interfaces:
- IACTREvent<IPerceptualMemory,IActivePerceptListener>
public class ActivePerceptEvent
- extends AbstractACTREvent<IPerceptualMemory,IActivePerceptListener>
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActivePerceptEvent
public ActivePerceptEvent(IPerceptualMemory source,
ActivePerceptEvent.Type type,
org.commonreality.identifier.IIdentifier perceptIdentifier,
IChunk currentEncoding)
ActivePerceptEvent
public ActivePerceptEvent(IPerceptualMemory source,
org.commonreality.identifier.IIdentifier perceptIdentifier,
IChunk currentEncoding,
IChunk oldEncoding)
- for reencode
- Parameters:
source - perceptIdentifier - currentEncoding - oldEncoding -
getPerceptIdentifier
public org.commonreality.identifier.IIdentifier getPerceptIdentifier()
getCurrentEncoding
public IChunk getCurrentEncoding()
getOldEncoding
public IChunk getOldEncoding()
getType
public ActivePerceptEvent.Type getType()
fire
public void fire(IActivePerceptListener listener)
- Description copied from interface:
IACTREvent
- dispatch this event to a listener on the provided executor
- Specified by:
fire in interface IACTREvent<IPerceptualMemory,IActivePerceptListener>- Specified by:
fire in class AbstractACTREvent<IPerceptualMemory,IActivePerceptListener>