public abstract class RealtimePermission
extends java.security.Permission
| Risk Class | Description |
|---|---|
| CPU Assignment Risk | Interferes with critical tasks by assigning too many other tasks to the same CPU. |
| Encapsulation Risk | Could break out of encapsulation. |
| External Risk | Could adversely effect other processes on the system. |
| Interference Risk | Could interfere with the function of other parts of the system. |
| Load Risk | Could increase the load on the system. |
| Lost Events Risk | Another task could no longer receive the expected events. |
| Memory Leak Risk | Could cause memory to be lost to the system. |
| Scheduling Risk | Interferes with the timeliness of other parts of the system. |
| Device Range Risk | Could specify memory outside the desired Device range. |
| Device Map Risk | Could map too much or too little Device memory. |
| DMA Range Risk | Could specify memory outside the desired DMA range. |
| DMA Map Risk | Could map too much or too little DMA memory for DMA. |
| Physical Range Risk | Could specify memory outside the desired Physical range. |
| Physical Map Risk | Could take too much memory. |
| Modifier | Constructor and Description |
|---|---|
protected |
RealtimePermission(java.lang.String actions)
Creates a new
RealtimePermission object for a given action,
i.e., the symbolic name of an action. |
protected |
RealtimePermission(java.lang.String name,
java.lang.String actions)
Creates a new
RealtimePermission object for a given action,
i.e., the symbolic name of an action. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other)
Compare two Permission objects for equality.
|
java.lang.String |
getActions()
Obtain the actions as a String in canonical form.
|
int |
hashCode()
Obtain the hash code value for this object.
|
boolean |
implies(java.security.Permission permission)
Checks if the given permission's actions are "implied by" this
object's actions.
|
protected void |
setHashCode(int code)
Set the hash code value for this object.
|
protected RealtimePermission(java.lang.String name,
java.lang.String actions)
RealtimePermission object for a given action,
i.e., the symbolic name of an action. The name string
specifies additional limitations on the action.name - Specifies the domain for the action, or *
for no limit on the permission.actions - The names of the actions to allow, or *
for all actions.java.lang.NullPointerException - when actions is null.StaticIllegalArgumentException - when name or
actions is empty.protected RealtimePermission(java.lang.String actions)
RealtimePermission object for a given action,
i.e., the symbolic name of an action.actions - The names of the actions to allow, or *
for all actions.java.lang.NullPointerException - when actions is null.StaticIllegalArgumentException - when actions is empty.public boolean equals(java.lang.Object other)
equals in class java.security.Permissionother - is the object with which to compare.true when yes and false otherwise.public java.lang.String getActions()
getActions in class java.security.Permissionpublic int hashCode()
hashCode in class java.security.Permissionprotected void setHashCode(int code)
code - the hash code value.public boolean implies(java.security.Permission permission)
implies in class java.security.Permissionpermission - is the permission to check.true when yes and false otherwise.aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2024 aicas GmbH. All Rights Reserved.