Package jadex.micro.regperf
Class SecurityEvaluation
- java.lang.Object
-
- jadex.micro.regperf.SecurityEvaluation
-
public class SecurityEvaluation extends java.lang.Object
Test if query isolation works using networks
-
-
Constructor Summary
Constructors Constructor Description SecurityEvaluation()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static long
createAgents(IExternalAccess[] platforms, int cnt)
protected static IPlatformConfiguration
createConfig()
Create a new default config.protected static IExternalAccess[]
createPlatforms(IPlatformConfiguration config, int cnt, java.lang.String type)
Create a number of platforms (e.g.protected static void
createRelayAndSSPs(IPlatformConfiguration config)
Create a local relay and SSP platformsstatic void
main(java.lang.String[] args)
In this variant each platform has its own network (shared with sp).protected static IPlatformConfiguration
parseArgs(java.lang.String[] args)
Parse args into config and extract settings into static fields.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception
In this variant each platform has its own network (shared with sp).- Throws:
java.lang.Exception
-
parseArgs
protected static IPlatformConfiguration parseArgs(java.lang.String[] args)
Parse args into config and extract settings into static fields.- Parameters:
args
- The program arguments.- Returns:
- The parsed platform configuration.
-
createRelayAndSSPs
protected static void createRelayAndSSPs(IPlatformConfiguration config)
Create a local relay and SSP platforms- Parameters:
config
- The platform config.
-
createPlatforms
protected static IExternalAccess[] createPlatforms(IPlatformConfiguration config, int cnt, java.lang.String type)
Create a number of platforms (e.g. SPs or helpline nodes).- Parameters:
config
- The platform config.cnt
- The number of platforms- Returns:
- The created platforms.
-
createAgents
protected static long createAgents(IExternalAccess[] platforms, int cnt)
-
createConfig
protected static IPlatformConfiguration createConfig()
Create a new default config.
-
-