Class C4Replicator

  • All Implemented Interfaces:

    public class C4Replicator
    extends C4NativePeer
    There are two things that need protection in the class:
    1. Messages sent to it from native code: This object proxies those messages out to various listeners. Until a replicator object is removed from the REVERSE_LOOKUP_TABLE forwarding such a message must work.
    2. Calls to the native object: These should work as long as the peer handle is non-zero. This object must be careful never to forward a call to a native object once that object has been freed.

    Instances of this class are created using static factory methods

    WARNING! This class and its members are referenced by name, from native code.