|
JanosVM v0.6.0 Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--edu.utah.janosvm.sys.PortAuthority
Manages the imports and exports of a team.
| Constructor Summary | |
PortAuthority()
|
|
| Method Summary | |
void |
cancelImport(Importable im)
Break the reference of the given Importable. |
ExportManager |
exportAnonymousObject(Exportable ex)
Export an object without a public identifier. |
ExportManager |
exportObject(java.lang.Object id,
Exportable ex)
Export an object with the given identifier. |
void |
importObject(Importable to,
TeamHandle from,
java.lang.Object id)
Import a publicly available object from another team. |
ExportManager |
reserveExportID(java.lang.Object id)
Attempt to reserve an exported identifier for future use. |
void |
revokeAnonymousObject(Exportable ex)
Revoke an anonymously exported object. |
void |
revokeObject(java.lang.Object id)
Revoke access to the export with given identifier. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public PortAuthority()
| Method Detail |
public ExportManager reserveExportID(java.lang.Object id)
throws DuplicateExportException
id - The identifier to reserve.
public ExportManager exportObject(java.lang.Object id,
Exportable ex)
throws DuplicateExportException
id - The identifier to export the object under.ex - The object to export.
public void revokeObject(java.lang.Object id)
throws NoSuchExportException
XXX rename to revokeExport()
id - The identifier of the export to revoke.public ExportManager exportAnonymousObject(Exportable ex)
ex - The object to export.
public void revokeAnonymousObject(Exportable ex)
throws NoSuchExportException
ex - The object to revoke access to.
public void importObject(Importable to,
TeamHandle from,
java.lang.Object id)
throws DeadTeamException,
TeamEjectionException,
NoSuchExportException
to - The Importable that should be set to reference the export.from - Reference to the team to import the object from.id - The identifier of the object to import from the given team.public void cancelImport(Importable im)
im - The Importable that should have its reference cleared.public java.lang.String toString()
|
JanosVM v0.6.0 Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||