public interface Dispatch
Modifier and Type | Method and Description |
---|---|
<T> void |
asyncDispatch(Request<T> pRequest)
Generate a response and and dispatch it in a new (seperate) thread.
|
<T> void |
asyncDispatchInEDT(Request<T> pRequest)
Generate a response in a new (seperate) thread and dispatch the
response in the EDT (event dispatch thread).
|
<T> void |
syncDispatch(Request<T> pRequest)
Generate a response and and dispatch it in the current thread.
|
<T> Response<T> |
syncExecute(Request<T> pRequest)
Generate a response (includes delegate handling) but doesn't dispatch the response.
|
<T> void asyncDispatch(Request<T> pRequest)
T
- Generic type of the pRequest
.pRequest
- the request<T> void asyncDispatchInEDT(Request<T> pRequest)
T
- Generic type of the pRequest
.pRequest
- the request<T> Response<T> syncExecute(Request<T> pRequest)
T
- Generic type of the pRequest
.pRequest
- the requestCopyright © 2017 Jürgen Zeller (privat). All rights reserved.