Package net.messagevortex
Class MessageVortexRepository
java.lang.Object
net.messagevortex.MessageVortexRepository
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidRemove an id from the space.static AccountantgetAccountant(String uid, String id) Get the accountant specified in the named configuration section.static BlendergetBlender(String uid, String id) Get the blender specified in the named configuration section.static IdentityStoregetIdentityStore(String uid, String id) Get the identity store specified in the named configuration section.static InternalPayloadSpacegetOwnSpace(String uid, IdentityBlock ib) Gets own payload space for a specific identity.static RouterGet the router specified in the named configuration section.static Map<String,RunningDaemon> getRunningDaemons(String uid) Get a list of all running daemons.static InternalPayloadSpacegetSimulatedSpace(String uid, IdentityBlock ib) gets a simulated payload space for a specific identity block.static voidsetAccountant(String uid, String id, Accountant a) Set the accountant specified in the named configuration section.static voidsetBlender(String uid, String id, Blender a) Set the blender specified in the named configuration section.static voidsetIdentityStore(String uid, String id, IdentityStore is) Set the identity store specified in the named configuration section.static voidSet the router specified in the named configuration section.static voidsetTransport(String uid, String id, Transport a) Set the transport specified in the named configuration section.
-
Constructor Details
-
MessageVortexRepository
public MessageVortexRepository()
-
-
Method Details
-
setTransport
Set the transport specified in the named configuration section.
- Parameters:
uid- the UUID of the related storeid- the name of the config sectiona- the transport handler
-
getAccountant
Get the accountant specified in the named configuration section.
- Parameters:
uid- the UUID of the related storeid- the name of the config section- Returns:
- the requested accountant or null
-
setAccountant
Set the accountant specified in the named configuration section.
- Parameters:
uid- the UUID of the related storeid- the name of the config sectiona- the accounting handler
-
getBlender
Get the blender specified in the named configuration section.
- Parameters:
uid- the UUID of the related storeid- the name of the config section- Returns:
- the requested blender or null
-
setBlender
Set the blender specified in the named configuration section.
- Parameters:
uid- the UUID of the related storeid- the name of the config sectiona- the blending handler
-
getRouter
Get the router specified in the named configuration section.
- Parameters:
uid- the UUID of the related storeid- the name of the config section- Returns:
- the requested router or null
-
setRouter
Set the router specified in the named configuration section.
- Parameters:
uid- the UUID of the related storeid- the name of the config sectiona- the routing handler
-
getIdentityStore
Get the identity store specified in the named configuration section.
- Parameters:
uid- the UUID of the related storeid- the name of the config section- Returns:
- the requested identity store or null
-
setIdentityStore
Set the identity store specified in the named configuration section.
- Parameters:
uid- the UUID of the related storeid- the name of the config sectionis- the identity store
-
getSimulatedSpace
gets a simulated payload space for a specific identity block.
- Parameters:
uid- the UUID of the related storeib- the identity block- Returns:
- the requested payload space
-
getOwnSpace
Gets own payload space for a specific identity.
- Parameters:
uid- the UUID of the related storeib- the identityblock identifying the payload space- Returns:
- the requested payload space
-
clear
Remove an id from the space.
- Parameters:
uid- the uid to be removed
-
getRunningDaemons
Get a list of all running daemons.
- Parameters:
uid- the affected uid- Returns:
- the requested list
-