public static final class Cajo.Registrar extends Object
| Modifier and Type | Method and Description |
|---|---|
Object |
multicast(Multicast multicast)
This method is called either when a Cajo instance starts up, or
exports an object reference.
|
void |
register(Vector elements)
This method is called either by remote JVMs to provide a copy
of their registry, in response to a startup or export announcement.
|
Vector |
request()
This method allows remote JVMs to request the contents of the
registry.
|
public Object multicast(Multicast multicast) throws Exception
multicast - A reference to the announcing JVMException - if the request for remote references failed, or the
sending its reference collection failed, for either network, or
application specific reasons.public void register(Vector elements)
elements - A collection of remote object referencespublic Vector request()
Copyright © 2016. All Rights Reserved.