org.ssonet.net
Interface SSONETContextListener

All Known Implementing Classes:
TestClient, TestJigsaw, TestServer

public interface SSONETContextListener

Interface for classes wich aggregate Context instances or cache values derived from the contents of Context objects.


Method Summary
 void contextChanged(org.ssonet.net.SSONETContext c)
          Listener SHOULD updated cached values derived from the given SSONETContext, because the contents of the SSONETContext has changed.
 void replaceContext(org.ssonet.net.SSONETContext o, org.ssonet.net.SSONETContext n)
          Listener SHOULD replace his aggregated SSONETContext instance with a new one, because the old one wont be used anymore.
 

Method Detail

replaceContext

public void replaceContext(org.ssonet.net.SSONETContext o,
                           org.ssonet.net.SSONETContext n)
Listener SHOULD replace his aggregated SSONETContext instance with a new one, because the old one wont be used anymore. Adding and removing ContextListeners, CertificateTesters and ConflictResolvers COULD be performed herein.

Parameters:
o - The aggregated context object to be replaced.
n - The context object to use from now on.

contextChanged

public void contextChanged(org.ssonet.net.SSONETContext c)
Listener SHOULD updated cached values derived from the given SSONETContext, because the contents of the SSONETContext has changed.

Parameters:
c - The context which has changed.


Copyright © 2003 DRIM Team. All Rights Reserved.