public class ContextStrategy extends BusStrategy
Modifier and Type | Class and Description |
---|---|
static class |
ContextStrategy.ContextFilterer |
Thread.State, Thread.UncaughtExceptionHandler
bus, busModule, commModule
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
ContextStrategy(CommunicationModule cm) |
Modifier and Type | Method and Description |
---|---|
protected IContextStrategyDataFactory |
createContextStrategyDataFactory() |
void |
handle(BusMessage message,
String senderID)
Handle the message.
|
buildChannelMessage, getBusMember, getLocalBusByName, handleMessage, run, send, setBus, stopThread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public ContextStrategy(CommunicationModule cm)
protected IContextStrategyDataFactory createContextStrategyDataFactory()
public void handle(BusMessage message, String senderID)
BusStrategy
handle
in class BusStrategy
message
- messagesenderID
- sender (bus member) IDBusStrategy.handleMessage(BusMessage, String)
Copyright © 2018 universAAL Consortium. All rights reserved.