org.jdesktop.wonderland.server.wfs.exporter
Interface CellExportManager.SnapshotCreationListener

All Known Implementing Classes:
CellExporter
Enclosing interface:
CellExportManager

public static interface CellExportManager.SnapshotCreationListener

A listener that will be notified of the success or failure of creating a snapshot. Implementations of SnapshotCreationListener must be either a ManagedObject or Serializable.


Method Summary
 void snapshotCreated(WorldRoot worldRoot)
          Notification that a snapshot has been created successfully
 void snapshotFailed(java.lang.String reason, java.lang.Throwable cause)
          Notification that snapshot creation has failed.
 

Method Detail

snapshotCreated

void snapshotCreated(WorldRoot worldRoot)
Notification that a snapshot has been created successfully

Parameters:
worldRoot - the world root that was created

snapshotFailed

void snapshotFailed(java.lang.String reason,
                    java.lang.Throwable cause)
Notification that snapshot creation has failed.

Parameters:
reason - a String describing the reason for failure
cause - an exception that caused the failure.


Open Wonderland - http://openwonderland.org