|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DispatchStrategyOperations
This interface represents a dispatch strategy. To dispatch a request the ORB will pass a DispatchRequest. The dispatch strategy should call DispatchRequest::invoke() in the correct thread context.
DispatchRequest
,
DispatchStrategyFactory
Method Summary | |
---|---|
void |
dispatch(DispatchRequest r)
Called to cause a DispatchRequest to be run. |
int |
id()
Determine the id of this DispatchStrategy. |
Any |
info()
Determine information specific to this DispatchStrategy. |
Method Detail |
---|
int id()
SAME_THREAD
,
THREAD_PER_REQUEST
and THREAD_POOL
.
Use DispatchStrategyFactory to create instances of these objects.
Any info()
void dispatch(DispatchRequest r)
r
- The request to execute.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |