public class RealtimeSecurity
extends java.lang.Object
Jamaica Real-Time Specification for Java class RealtimeSecurity.
This class controls the access permissions to physical memory via the *PhysicalMemory and RawMemory*, the setting of the scheduler, monitor control and the daemon status of async event handlers.
The instance of RealtimeSecurity that is currently in use may be set via RealtimeSystem.setSecurityManager.
Constructor and Description |
---|
RealtimeSecurity()
Constructor for a default RealtimeSecurity instance.
|
Modifier and Type | Method and Description |
---|---|
void |
checkAccessPhysical()
checkAccessPhysical checks if access to physical memory is
permitted.
|
void |
checkAccessPhysicalRange(long base,
long size)
checkAccessPhysicalRange checks if access to the given area of
physical memory is permitted.
|
void |
checkAEHSetDaemon()
checkAEHSetDaemon checks if the application is allowed to
set the daemon status of an AsyncBaseEventHandler.
|
void |
checkSetFilter()
checkSetFilter checks if the application is allowed to register
new memory type filters with the PhysicalMemoryManager class.
|
void |
checkSetMonitorControl(MonitorControl policy)
checkSetMonitorControl checks if the application is allowed to
set the default monitor control policy.
|
void |
checkSetScheduler()
checkSetScheduler checks if the application is allowed to set the
scheduler.
|
public RealtimeSecurity()
public void checkAccessPhysical() throws java.lang.SecurityException
java.lang.SecurityException
- iff access to physical memory is not
permitted.public void checkAccessPhysicalRange(long base, long size) throws java.lang.SecurityException
base
- The base address of the area.size
- The size of the memory area in bytes.java.lang.SecurityException
- iff access to physical memory is not
permitted.public void checkSetFilter() throws java.lang.SecurityException
java.lang.SecurityException
public void checkSetScheduler() throws java.lang.SecurityException
java.lang.SecurityException
public void checkSetMonitorControl(MonitorControl policy) throws java.lang.SecurityException
java.lang.SecurityException
public void checkAEHSetDaemon() throws java.lang.SecurityException
java.lang.SecurityException
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2019 aicas GmbH. All Rights Reserved.