public class RealtimeSecurity extends 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 SecurityException
SecurityException
- iff access to physical memory is not
permitted.public void checkAccessPhysicalRange(long base, long size) throws SecurityException
SecurityException
- iff access to physical memory is not
permitted.base
- The base address of the area.size
- The size of the memory area in bytes.public void checkSetFilter() throws SecurityException
SecurityException
public void checkSetScheduler() throws SecurityException
SecurityException
public void checkSetMonitorControl(MonitorControl policy) throws SecurityException
SecurityException
public void checkAEHSetDaemon() throws SecurityException
SecurityException
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2021 aicas GmbH. All Rights Reserved.