org.mmbase.module.builders.vwms
Interface VwmServiceInterface

All Superinterfaces:
MMBaseObserver, VwmInterface
All Known Implementing Classes:
ImageMaster, PageMaster

public interface VwmServiceInterface
extends VwmInterface

Interface for VWMs that handle file servicing. This interface is used for VWMs that need to be invoked by the scancache module whenever a file is to be cached through the CACHE PAGE directive. VWMS implementing this interface keep track of filechanges and update the filecache when needed.

Version:
$Id: VwmServiceInterface.java,v 1.6 2003/03/10 11:50:27 pierre Exp $
Author:
Daniel Ockeloen, Pierre van Rodoen (javadocs)
See Also:
PageMaster

Method Summary
 boolean fileChange(java.lang.String number, java.lang.String ctype)
          Handles a service-request on a file, registered in the netfiles builder.
 boolean fileChange(java.lang.String service, java.lang.String subservice, java.lang.String filename)
          Handles a service-request on a file, registered in the netfiles builder.
 
Methods inherited from interface org.mmbase.module.builders.vwms.VwmInterface
addClient, init, releaseClient
 
Methods inherited from interface org.mmbase.module.core.MMBaseObserver
nodeLocalChanged, nodeRemoteChanged
 

Method Detail

fileChange

public boolean fileChange(java.lang.String number,
                          java.lang.String ctype)
Handles a service-request on a file, registered in the netfiles builder.

Parameters:
number - Number of the node in the netfiles buidler than contain service request information.
ctype - the type of change to that node
Returns:
true if the request was succesfully handled

fileChange

public boolean fileChange(java.lang.String service,
                          java.lang.String subservice,
                          java.lang.String filename)
Handles a service-request on a file, registered in the netfiles builder.

Parameters:
service - the service to be performed
subservice - the subservice to be performed
filename - the filename to service
Returns:
true if the request was handled


MMBase build 1.7.1.20041002