Java Runtime 3.0.1
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
alfa.rt.RuntimeContext Interface Reference

Inherits alfa.rt.PersistenceSupport, and alfa.rt.MessagingSupport.

Inherited by alfa.rt.NoOpRuntimeContext, and alfa.rt_int.DefaultRuntimeContext.

Public Member Functions

byte[] encrypt (byte[] inputData)
 
byte[] decrypt (byte[] inputData)
 
ILogger getLogger ()
 
byte[] compress (byte[] inputData)
 
byte[] uncompress (byte[] inputData)
 
IBuiltinFunctions getBuiltinFunctions ()
 

Static Public Member Functions

static RuntimeContext getDefaultRuntimeContext ()
 
static PersistenceSupport getDefaultPersistenceSupport ()
 
static MessagingSupport getDefaultMessagingSupport ()
 
static RuntimeContext createRuntimeContext (PersistenceSupport ps)
 
static RuntimeContext createRuntimeContext (PersistenceSupport ps, MessagingSupport ms)
 

Detailed Description

Interface passed into Builders and other classes that need to support runtime behaviour. Also supports encryption/decryption functions that can be implemented to encforce the required behaviour.

Member Function Documentation

◆ compress()

byte[] alfa.rt.RuntimeContext.compress ( byte[] inputData)

Compress the input bytes using a compression implementation

Parameters
inputData
Returns

◆ decrypt()

byte[] alfa.rt.RuntimeContext.decrypt ( byte[] inputData)

Decrypt the given byte[]

Parameters
inputDataByte[] to decrypt
Returns
An decrypted byte[]

◆ encrypt()

byte[] alfa.rt.RuntimeContext.encrypt ( byte[] inputData)

Encrypt the given byte[]

Parameters
inputDataByte[] to encrypt
Returns
An encrypted byte[]

◆ uncompress()

byte[] alfa.rt.RuntimeContext.uncompress ( byte[] inputData)

Decompress the input bytes using the reverse of the compression implementation

Parameters
inputData
Returns

The documentation for this interface was generated from the following file: