|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MessageRetargeter
Interface for an object to redirect JSON messages targeted at it.
When the message dispatch mechanism attempts to deliver a message to an
object, if the object implements this interface the server will instead call
the findActualTarget() method and attempt to
deliver the message to the object thus returned. This redirection can be
applied recursively (i.e., the new target may itself implement this
interface).
Compare and contrast with SourceRetargeter.
| Method Summary | |
|---|---|
DispatchTarget |
findActualTarget(Class type)
Return the object that should actually receive a message in place of this object. |
| Method Detail |
|---|
DispatchTarget findActualTarget(Class type)
type - The class for which the message might have been intended.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||