|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface InvocationReceiver
Invocation notification receipt interfaces should be defined as
extending this interface. Actual notification receivers will implement
the requisite receiver interface definition and register themselves
with the InvocationDirector using the generated InvocationDecoder class specific to the notification receiver
interface in question. For example:
public class FooDirector implements FooReceiver
{
public FooDirector (PresentsContext ctx)
{
InvocationDirector idir = ctx.getClient().getInvocationDirector();
idir.registerReceiver(new FooDecoder(this));
}
}
InvocationDirector.registerReceiver(com.threerings.presents.client.InvocationDecoder)| Nested Class Summary | |
|---|---|
static class |
InvocationReceiver.Registration
Used to maintain a registry of invocation receivers that can be used to convert (large) hash codes into (small) registration numbers. |
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||