When the element is available, theįirstRemoved event will be triggered. Or an error if there is no available element. Simultaneously, one will get the first element and the the other will get the second element, RemoveFirstFromList( tag) Obtain the first element of a list and atomically remove it. It will pass the result to the GotValue will be given. GetValue( tag, valueIfTagNotThere) GetValue asks CloudDB to get the value stored under the given tag. Resulting list is returned in the event TagList. ![]() GetTagList() Asks CloudDB to retrieve all the tags belonging to this project. CloudConnected() Returns true if we are on the network and will likely be able to connect to ClearTag( tag) Remove the tag from CloudDB. If two devices use this function simultaneously, both will be appended and no data lost. Methods AppendValueToList( tag, itemToAdd) Append a value to the end of a list atomically. UpdateDone( tag, operation) Indicates that operations that store data to CloudDB have completed. TagList( value) Event triggered when we have received the list of known tags. GotValue( tag, value) Indicates that a GetValue request has succeeded. Value is the object that was the first in the list, and which is now FirstRemoved( value) Event triggered by the RemoveFirstFromList function. Tag that has been updated and the value it now has. DataChanged( tag, value) Indicates that the data in the CloudDB project has changed. Events CloudDBError( message) Indicates that an error occurred while communicating with the CloudDB Redis server. This should be set to True for the “DEFAULT” server. UseSSL Set to true to use SSL to talk to CloudDB/Redis server. If using your own Redis server, set a password in the A systemĪdministrator may also provide a special value to you which can be used to share data between “DEFAULT” server, do not edit this value, the system will fill it in for you. Token This field contains the authentication token used to login to the backed Redis server. ![]() A setting of “DEFAULT” means that the MIT server will be used. Defaults to 6381 RedisServer The Redis Server to use to store data. Properties ProjectID Gets the ProjectID for this CloudDB project. RedisPort property to access your own server. ![]() By default data will be stored in a server maintained by MIT, however youĬan setup and run your own server. This allows the users of your App to shareĭata with each other. The CloudDB component is a Non-visible component that allows you to store data on a InternetĬonnected database server (using Redis software).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |