public class OARemoteThreadDelegate extends Object
Constructor and Description |
---|
OARemoteThreadDelegate() |
Modifier and Type | Method and Description |
---|---|
static RequestInfo |
getRequestInfo()
Get the current RequestInfo message that is being processed by this thread.
|
static boolean |
isRemoteThread() |
static boolean |
isRemoteThreadSendingMessages() |
static boolean |
isSafeToCallRemoteMethod()
Used to check to check if a RemoteThread has reach it's "mark"/purpose
for the method that it's currently processing.
|
static boolean |
queueEvent(Runnable r)
If this is an OARemoteThread, then add this to background thread processing.
|
static boolean |
sendMessages()
Flat to have oasync msgs sent to other computers.
|
static boolean |
sendMessages(boolean b)
This allows messages from an OARemoteThread to be sent out to clients.
|
static boolean |
shouldEventsBeQueued() |
static boolean |
shouldSendMessages()
By default OARemoteThreads do not sent messages.
|
static boolean |
startedNextThread()
Check to see if nextThread has been started.
|
static void |
startNextThread()
This is called once the msg that is being processed has met it's "mark".
|
public static boolean isRemoteThread()
public static boolean isSafeToCallRemoteMethod()
public static boolean shouldSendMessages()
public static void startNextThread()
public static boolean startedNextThread()
public static RequestInfo getRequestInfo()
public static boolean sendMessages()
public static boolean sendMessages(boolean b)
public static boolean isRemoteThreadSendingMessages()
public static boolean shouldEventsBeQueued()
public static boolean queueEvent(Runnable r)
r
- runnable to run.Copyright © 1999–2025 ViaOA. All rights reserved.