Package | Description |
---|---|
org.jgroups.blocks |
Provides building blocks that are layered on top of channels.
|
org.jgroups.tests |
Modifier and Type | Class and Description |
---|---|
class |
MessageDispatcher
Provides synchronous and asynchronous message sending with request-response
correlation; i.e., matching responses with the original request.
|
class |
RpcDispatcher
This class allows a programmer to invoke remote methods in all (or single) group members and optionally wait for
the return value(s).
An application will typically create a channel and layer the RpcDispatcher building block on top of it, which
allows it to dispatch remote methods (client role) and at the same time be called by other members (server role).
This class is derived from MessageDispatcher.
|
Modifier and Type | Field and Description |
---|---|
protected RequestHandler |
MessageDispatcher.req_handler |
protected RequestHandler |
RequestCorrelator.request_handler
The handler for the incoming requests.
|
Modifier and Type | Method and Description |
---|---|
protected static RequestCorrelator |
MessageDispatcher.createRequestCorrelator(Protocol transport,
RequestHandler handler,
Address local_addr) |
void |
RequestCorrelator.setRequestHandler(RequestHandler handler) |
<X extends MessageDispatcher> |
MessageDispatcher.setRequestHandler(RequestHandler rh) |
Constructor and Description |
---|
MessageDispatcher(JChannel channel,
RequestHandler req_handler) |
RequestCorrelator(Protocol transport,
RequestHandler handler,
Address local_addr) |
RequestCorrelator(short corr_id,
Protocol transport,
RequestHandler handler,
Address local_addr)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
MessageDispatcherSpeedTest |
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.