|
Bees v0.5.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--bees.core.Capability
|
+--bees.core.resource.Meter
| Fields inherited from class bees.core.Capability |
DELETE_PERMISSION, id, INVALID_ID |
| Constructor Summary | |
Meter()
Construct an empty Meter object. |
|
| Method Summary | |
protected void |
fromBytes(byte[] flattened,
CapabilityEnvelope[] sub)
Bind this capability to the given object. |
void |
revoke()
Revoke access to the capability. |
java.lang.String |
toString()
|
| Methods inherited from class bees.core.Capability |
checkPermission, clear, clonePermission, deleteCapability, equals, fromBytes, revokedPermission, revokePermission, revokePermissions, valid |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Meter()
| Method Detail |
protected void fromBytes(byte[] flattened,
CapabilityEnvelope[] sub)
throws java.lang.Exception
CapabilityfromBytes in class Capabilitybees.core.Capabilityflattened - The object this capability gives access too.sub - Null or any sub-capabilities.java.lang.Exception - if anything goes wrong during initialization.public void revoke()
Capabilityrevoke in class Capabilitypublic java.lang.String toString()
toString in class Capabilitybees.core.CapabilityObject.toString()
|
Bees v0.5.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||