Home › Packages › sommeliers

Package sommeliers

This package contains 11 source unit(s) defining 11 class(es) / struct(s). Each unit below lists its fields (the values it stores) and methods (the actions it performs), with a plain explanation of each.

SLSommelierCare #sleela 2.5 (lib/sommeliers/SLSommelierCare.sleela)

SLSommelierCare class

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
offerSLSommelierOffer offerNo description in source.
profileSLSommelierProfile profileNo description in source.
consentSLSommelierConsent consentNo description in source.
feedbackSLSommelierFeedback feedbackNo description in source.
sessionSLSommelierSession sessionNo description in source.
planSLSommelierCarePlan planNo description in source.
localeSLSommelierLocale localeNo description in source.
clientSLSommelierFeedbackClient clientNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initializevoid initialize()No description in source.
offerSummaryString offerSummary()No description in source.
canSubmitFeedbackboolean canSubmitFeedback()No description in source.
submitCanonicalFeedbackint submitCanonicalFeedback(String symbol)No description in source.
revokeParticipationvoid revokeParticipation()No description in source.

SLSommelierCareDemo #sleela 2.5 (lib/sommeliers/SLSommelierCareDemo.sleela)

SLSommelierCareDemo class

Methods — the actions this unit can perform.

MethodSignatureWhat it does
mainvoid main()No description in source.

SLSommelierCarePlan #sleela 2.5 (lib/sommeliers/SLSommelierCarePlan.sleela)

SLSommelierCarePlan class

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
quietModeboolean quietMode = trueNo description in source.
restReminderEnabledboolean restReminderEnabled = falseNo description in source.
peerContactEnabledboolean peerContactEnabled = falseNo description in source.
restReminderMinutesint restReminderMinutes = 60No description in source.
preferredPauseString preferredPause = "Take a voluntary pause when useful."No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
quietboolean quiet()No description in source.
remindersEnabledboolean remindersEnabled()No description in source.
peerContactEnabledNowboolean peerContactEnabledNow()No description in source.
reminderMinutesint reminderMinutes()No description in source.
pauseTextString pauseText()No description in source.
setQuietModevoid setQuietMode(boolean value)No description in source.
enableRestRemindervoid enableRestReminder(boolean value)No description in source.
enablePeerContactvoid enablePeerContact(boolean value)No description in source.
setPreferredPausevoid setPreferredPause(String value)No description in source.
setReminderMinutesboolean setReminderMinutes(int value)No description in source.
guidanceString guidance()No description in source.

SLSommelierConsent #sleela 2.5 (lib/sommeliers/SLSommelierConsent.sleela)

SLSommelierConsent class

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
feedbackAllowedboolean feedbackAllowed = falseNo description in source.
profileSharingAllowedboolean profileSharingAllowed = falseNo description in source.
sessionSharingAllowedboolean sessionSharingAllowed = falseNo description in source.
researchUseAllowedboolean researchUseAllowed = falseNo description in source.
consentRecordedboolean consentRecorded = falseNo description in source.
consentVersionString consentVersion = "1.0"No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
canSendFeedbackboolean canSendFeedback()No description in source.
canShareProfileboolean canShareProfile()No description in source.
canShareSessionboolean canShareSession()No description in source.
canUseForResearchboolean canUseForResearch()No description in source.
isRecordedboolean isRecorded()No description in source.
allowFeedbackvoid allowFeedback(boolean value)No description in source.
allowProfileSharingvoid allowProfileSharing(boolean value)No description in source.
allowSessionSharingvoid allowSessionSharing(boolean value)No description in source.
allowResearchUsevoid allowResearchUse(boolean value)No description in source.
revokeAllvoid revokeAll()No description in source.
isMinimalOptInboolean isMinimalOptIn()No description in source.

SLSommelierFeedback #sleela 2.5 (lib/sommeliers/SLSommelierFeedback.sleela)

SLSommelierFeedback class

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
SYMBOL_GROUNDEDString SYMBOL_GROUNDED = "0"No description in source.
SYMBOL_FREEString SYMBOL_FREE = "1"No description in source.
SYMBOL_RESTString SYMBOL_REST = "s"No description in source.
lastInputString lastInput = ""No description in source.
lastSymbolString lastSymbol = ""No description in source.
validboolean valid = falseNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
groundedSymbolString groundedSymbol()No description in source.
freeSymbolString freeSymbol()No description in source.
restSymbolString restSymbol()No description in source.
inputString input()No description in source.
symbolString symbol()No description in source.
isValidboolean isValid()No description in source.
isCanonicalboolean isCanonical(String value)No description in source.
meaningString meaning(String value)No description in source.
acceptCanonicalboolean acceptCanonical(String value)No description in source.
clearvoid clear()No description in source.

SLSommelierFeedbackClient #sleela 2.5 (lib/sommeliers/SLSommelierFeedbackClient.sleela)

SLSommelierFeedbackClient class

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
hostString host = "127.0.0.1"No description in source.
portint port = 4081No description in source.
routeString route = "/feedback"No description in source.
STATUS_OKint STATUS_OK = 0No description in source.
STATUS_BRIDGE_REQUIREDint STATUS_BRIDGE_REQUIRED = 100No description in source.
STATUS_INVALID_INPUTint STATUS_INVALID_INPUT = 101No description in source.
lastStatusint lastStatus = 100No description in source.
lastResponseString lastResponse = ""No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
endpointHostString endpointHost()No description in source.
endpointPortint endpointPort()No description in source.
endpointRouteString endpointRoute()No description in source.
statusint status()No description in source.
responseString response()No description in source.
configureboolean configure(String address, int servicePort)No description in source.
validateResponseboolean validateResponse(String value)Validate the single-symbol vocabulary before crossing a future host bridge.
sendint send(String value)Honest placeholder: no socket operation is performed by this SLeeLa class.
acceptResponseboolean acceptResponse(String value)No description in source.

SLSommelierLocale #sleela 2.5 (lib/sommeliers/SLSommelierLocale.sleela)

SLSommelierLocale class

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
languageTagString languageTag = "en"No description in source.
regionTagString regionTag = ""No description in source.
displayDirectionString displayDirection = "ltr"No description in source.
translationReviewedboolean translationReviewed = falseNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
languageString language()No description in source.
regionString region()No description in source.
directionString direction()No description in source.
reviewedboolean reviewed()No description in source.
setLanguageboolean setLanguage(String value)No description in source.
setRegionvoid setRegion(String value)No description in source.
setDirectionboolean setDirection(String value)No description in source.
markTranslationReviewedvoid markTranslationReviewed(boolean value)No description in source.

SLSommelierOffer #sleela 2.5 (lib/sommeliers/SLSommelierOffer.sleela)

SLSommelierOffer class

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
offerIdString offerId = "sommelier-open-001"No description in source.
titleString title = "Open Sommelier Create-Use"No description in source.
descriptionString description = "An open invitation to explore, create, share and rest."No description in source.
languageString language = "en"No description in source.
hostString host = "127.0.0.1"No description in source.
portint port = 4081No description in source.
openboolean open = trueNo description in source.
consentRequiredboolean consentRequired = trueNo description in source.
publicByDefaultboolean publicByDefault = falseNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
getOfferIdString getOfferId()No description in source.
getTitleString getTitle()No description in source.
getDescriptionString getDescription()No description in source.
getLanguageString getLanguage()No description in source.
getHostString getHost()No description in source.
getPortint getPort()No description in source.
isOpenboolean isOpen()No description in source.
requiresConsentboolean requiresConsent()No description in source.
isPublicByDefaultboolean isPublicByDefault()No description in source.
setOfferIdvoid setOfferId(String value)No description in source.
setTitlevoid setTitle(String value)No description in source.
setDescriptionvoid setDescription(String value)No description in source.
setLanguagevoid setLanguage(String value)No description in source.
setOpenvoid setOpen(boolean value)No description in source.
setConsentRequiredvoid setConsentRequired(boolean value)No description in source.
setPublicByDefaultvoid setPublicByDefault(boolean value)No description in source.
validboolean valid()No description in source.
summaryString summary()No description in source.

SLSommelierOfferRegistry #sleela 2.5 (lib/sommeliers/SLSommelierOfferRegistry.sleela)

SLSommelierOfferRegistry class

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
CAPACITYint CAPACITY = 12No description in source.
countint count = 0No description in source.
id0String id0 = ""No description in source.
id1String id1 = ""No description in source.
id2String id2 = ""No description in source.
id3String id3 = ""No description in source.
id4String id4 = ""No description in source.
id5String id5 = ""No description in source.
id6String id6 = ""No description in source.
id7String id7 = ""No description in source.
id8String id8 = ""No description in source.
id9String id9 = ""No description in source.
id10String id10 = ""No description in source.
id11String id11 = ""No description in source.
lastErrorString lastError = ""No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
sizeint size()No description in source.
errorString error()No description in source.
containsIdboolean containsId(String id)No description in source.
registerboolean register(String id)No description in source.
clearvoid clear()No description in source.

SLSommelierProfile #sleela 2.5 (lib/sommeliers/SLSommelierProfile.sleela)

SLSommelierProfile class

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
displayNameString displayName = "Sommelier"No description in source.
preferredLanguageString preferredLanguage = "en"No description in source.
regionLabelString regionLabel = "unspecified"No description in source.
displayNameSharedboolean displayNameShared = falseNo description in source.
regionSharedboolean regionShared = falseNo description in source.
profileCompleteboolean profileComplete = falseNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
nameString name()No description in source.
languageString language()No description in source.
regionString region()No description in source.
sharesNameboolean sharesName()No description in source.
sharesRegionboolean sharesRegion()No description in source.
setDisplayNamevoid setDisplayName(String value)No description in source.
setPreferredLanguagevoid setPreferredLanguage(String value)No description in source.
setRegionLabelvoid setRegionLabel(String value)No description in source.
shareNamevoid shareName(boolean value)No description in source.
shareRegionvoid shareRegion(boolean value)No description in source.
validboolean valid()No description in source.
publicLabelString publicLabel()No description in source.

SLSommelierSession #sleela 2.5 (lib/sommeliers/SLSommelierSession.sleela)

SLSommelierSession class

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
STATE_NEWint STATE_NEW = 0No description in source.
STATE_READYint STATE_READY = 1No description in source.
STATE_ACTIVEint STATE_ACTIVE = 2No description in source.
STATE_CLOSEDint STATE_CLOSED = 3No description in source.
stateint state = 0No description in source.
sessionIdString sessionId = ""No description in source.
localeString locale = "en"No description in source.
feedbackCountint feedbackCount = 0No description in source.
userInitiatedboolean userInitiated = falseNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
currentStateint currentState()No description in source.
idString id()No description in source.
languageString language()No description in source.
countint count()No description in source.
initiatedByUserboolean initiatedByUser()No description in source.
beginboolean begin(String id, String language)No description in source.
startboolean start()No description in source.
recordFeedbackboolean recordFeedback()No description in source.
closevoid close()No description in source.
activeboolean active()No description in source.