public class ClientMessagePool extends Object
Constructor and Description |
---|
ClientMessagePool(RouterContext context) |
Modifier and Type | Method and Description |
---|---|
void |
add(ClientMessage msg)
Add a new message to the pool.
|
void |
add(ClientMessage msg,
boolean isDefinitelyRemote)
If we're coming from the client subsystem itself, we already know whether
the target is definitely remote and as such don't need to recheck
ourselves, but if we aren't certain, we want it to check for us.
|
void |
restart() |
void |
shutdown() |
public ClientMessagePool(RouterContext context)
public void shutdown()
public void restart()
public void add(ClientMessage msg)
public void add(ClientMessage msg, boolean isDefinitelyRemote)
isDefinitelyRemote
- true if we know for sure that the target is not local