Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
ScenarioHandler(Deque<ClientEvent> scenario) |
| Modifier and Type | Method and Description |
|---|---|
void |
addOcpMsg(byte[] message) |
Deque<ClientEvent> |
getScenario() |
boolean |
isEmpty() |
boolean |
isScenarioFinished() |
void |
run() |
void |
setCtx(io.netty.channel.ChannelHandlerContext ctx) |
void |
setScenario(Deque<ClientEvent> scenario) |
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, yieldpublic ScenarioHandler(Deque<ClientEvent> scenario)
scenario - public boolean isEmpty()
public Deque<ClientEvent> getScenario()
public void setScenario(Deque<ClientEvent> scenario)
scenario - scenario filled with desired eventspublic void setCtx(io.netty.channel.ChannelHandlerContext ctx)
ctx - context which will be used for sending messages (SendEvents)public void addOcpMsg(byte[] message)
message - received message that is compared to expected messagepublic boolean isScenarioFinished()
Copyright © 2016 OpenDaylight. All Rights Reserved.