JanosVM v1.0 API

edu.utah.janosvm.sys
Interface TemporaryExport

All Known Implementing Classes:
AggregateStateManager.IsolateStatus, OneWayLink_RendezvousPoint, CommHashtable, CommSpace, CommQueue, MemoryBlockBackEnd

public interface TemporaryExport

Indicate that an exported object is only alive as long as it is imported by someone. Only useful when implemented by a subclass of Exportable.

Author:
Tim Stack, Utah Janos Team
See Also:
PersistentExport, Exportable, ExportManager.remImporter(edu.utah.janosvm.sys.Importable)

Method Summary
 boolean expired()
          This method is called when there are no more imports for the export.
 java.lang.Object getName()
          Used to determine the name of this TemporaryObject object during revocation.
 

Method Detail

expired

public boolean expired()
This method is called when there are no more imports for the export. If it returns true than the export is revoked otherwise it will continue to be available for importing.
Returns:
True if the export has expired and should be revoked.

getName

public java.lang.Object getName()
Used to determine the name of this TemporaryObject object during revocation. Should return null for an anonymous export.

JanosVM v1.0 API

This documentation is Copyright (C) 2000-2003 The University of Utah. All Rights Reserved. See the documentation license for distribution terms and restrictions.
Documentation, software, and mailing lists for the JanosVM can be found at the Janos Project web page: http://www.cs.utah.edu/flux/janos/
Generated on Feb 13, 2003