com.vii.brillien.kernel.axiom.atomic
Interface PresenceBoard<P extends PresenceManager,C extends Communication>
- All Superinterfaces:
- Aspirer<C,Object>, Callable<Object>, Presence<C,Object>, Progressor, Sensor<C>, Unit<P,C,Object>
public interface PresenceBoard<P extends PresenceManager,C extends Communication>
- extends Unit<P,C,Object>
Control board for Presences to orchestrate a given Presence by versions
Methods inherited from interface com.vii.brillien.kernel.axiom.atomic.Unit |
activateUnitAll, activateUnitCallable, activateUnitMessaging, addPresence, addPresences, addSubUnit, addSubUnits, classify, clearPresences, clearSubUnits, communicationUnitReceived, complement, getCharacteristicFunction, getPresences, getSubUnits, hasUnitActivity, intersect, isSubSet, isUnitInExitState, isUnitInValidStates, isUnitWaitingForResponse, order, passivateUnitAll, passivateUnitCallable, passivateUnitMessaging, printUnitErrorStates, removePresence, removePresences, removeSubUnit, removeSubUnits, retrieveUnit, scrutinise, setCharacteristicFunction, subset, symmetricDifference, union |
Methods inherited from interface com.vii.brillien.kernel.axiom.atomic.Presence |
activateAll, addSuperUnits, clearSuperUnits, getApiKeyPresenceName, getApiVersion, getFlow, getFlowID, getLoggedUser, getLoggedUser, getPresence, getPresenceManager, getSharing, getSSOPresenceName, getSuperUnits, loginUser, passivateAll, printErrorStates, removeSuperUnits, retrieve, setApiVersion, setFlow, setPresenceManager |
Methods inherited from interface com.vii.brillien.kernel.axiom.Presence |
aspirationTimeIsUp, getAspirationPattern, getAspirationTimeMeasure, getFullName, getInterface, getMessageProcessorParameterNames, getMessageProcessorParameterTypes, getName, hasMessageProcessorReturnValue, isAspirationPeriodical, reset, setAspirationPattern, setAspirationPeriodical, setAspirationTimeMeasure, setName |
Methods inherited from interface com.vii.brillien.kernel.axiom.Aspirer |
activateCallable, getResult, hasActivity, isWaitingForInputData, isWaitingForResponse, passivateCallable, plan, sendAGet, sendDelegatedSet, sendError, sendError, sendError, sendGet, sendGet, sendResponse, sendSet, sendUnitAGet, sendUnitDelegatedSet, sendUnitGet, sendUnitGet, sendUnitSet |
Methods inherited from interface java.util.concurrent.Callable |
call |
Methods inherited from interface com.vii.brillien.kernel.axiom.Progressor |
addState, changeState, getActualStates, getPotentialStates, getStateDivision, hasStateMachine, initStateMashine, isInExitState, isInState, isInValidStates, panic, registerStateChangeNotification, removeState, setStateDivision, unregisterStateChangeNotification |
activatePresenceBoard
void activatePresenceBoard()
throws BrillienException
- Throws:
BrillienException
getDefaultVersion
String getDefaultVersion()
throws BrillienException
- Throws:
BrillienException
getVersions
List<String> getVersions()
throws BrillienException
- Throws:
BrillienException
getPresenceManagers
Map<String,P> getPresenceManagers()
throws BrillienException
- Throws:
BrillienException
getDefaultPresenceManager
P getDefaultPresenceManager()
throws BrillienException
- Throws:
BrillienException
getPresenceManager
P getPresenceManager(String apiVersion)
throws BrillienException
- Throws:
BrillienException
publishPresenceManager
void publishPresenceManager(String presenceName,
P manager,
Class presenceClass,
String apiVersion)
throws BrillienException
- Publishes the given Presence Manager associated with the given version
- Throws:
BrillienException
revokePresenceManager
void revokePresenceManager(String apiVersion)
throws BrillienException
- Deactivates the PresenceManager identified with the given version
- Throws:
BrillienException
getMediator
<T> Mediator<C,T> getMediator()
- Retrieves a mediator representing the transport layer
markMessageToSend
void markMessageToSend(C shared,
C message)
- Presences let the PresenceManager to know about the messages sent through this method
Copyright © 2012. All Rights Reserved.