new IParty()
Parameters:
Name | Type | Description |
---|---|---|
options.config | module:Config. | |
options.cache | module:Party. | |
options.noCache | boolean | |
options.comms | module:Comms. | |
options.model | Object | |
options.factories | Object | |
options.documentClass | module:Party. | |
options.qb | module:Party. |
- Source
Members
(static) actor :IdObj
Type:
- Source
(static) actors :Array.<IdObj>
Type:
- Array.<IdObj>
- Source
(static) Document :IDocument
Type:
- IDocument
- Source
(static) factory :DocumentFactory
Type:
- DocumentFactory
- Source
(static) identity :module:dataparty/Types.Identity
Type:
- module:dataparty/Types.
Identity
- Source
(static) privateIdentity :module:dataparty/Types.Identity
Type:
- module:dataparty/Types.
Identity
- Source
(static) ROSLIB :ROSLIB
Type:
- ROSLIB
- Source
(static) types
- Source
Methods
(async, static) call()
- Source
(async, static) create()
- Source
(async, static) createDocument()
- Source
(async, static) decrypt(reply, expectedSender, expectClearTextReply)
Parameters:
Name | Type | Description |
---|---|---|
reply | dataparty_crypto. | |
expectedSender | dataparty_crypto. | |
expectClearTextReply | boolean |
- Source
(async, static) encrypt(data, to) → {dataparty_crypto.Message}
Parameters:
Name | Type | Description |
---|---|---|
data | any | |
to | dataparty_crypto. |
- Source
Returns:
- Type:
- dataparty_crypto.
Message
(static) find() → {module:Party.Query}
Starts a query
- Source
Returns:
- Type:
- module:Party.
Query
(static) hasActor()
- Source
(static) hasIdentity()
- Source
(async, static) loadActor()
- Source
(async, static) loadIdentity()
- Source
(async, static) remove()
- Source
(async, static) resetIdentity()
- Source
(async, static) start()
- Source
(async, static) update()
- Source