Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
MultiMessageReceiver(int port)
Initialization
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getIncomingMessages()
Get the incoming message list
|
int |
getMessageQueueSize()
Get the current message queue count
|
void |
run() |
void |
startServer()
Start the server
|
void |
stopServer()
Stop server
|
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 MultiMessageReceiver(int port)
port - Server startup portpublic void stopServer()
public void startServer()
public List<String> getIncomingMessages() throws InterruptedException
InterruptedExceptionpublic int getMessageQueueSize()
Copyright © 2015 WSO2 Inc. All rights reserved.