Party. IParty

new IParty()

Parameters:
NameTypeDescription
options.configmodule:Config.IConfig
options.cachemodule:Party.LokiCache
options.noCacheboolean
options.commsmodule:Comms.ISocketComms
options.modelObject
options.factoriesObject
options.documentClassmodule:Party.IDocument
options.qbmodule:Party.Qb

Members

(static) actor :IdObj

Type:

(static) actors :Array.<IdObj>

Type:

(static) Document :IDocument

Type:
  • IDocument

(static) factory :DocumentFactory

Type:
  • DocumentFactory

(static) identity :module:dataparty/Types.Identity

Type:
  • module:dataparty/Types.Identity

(static) privateIdentity :module:dataparty/Types.Identity

Type:
  • module:dataparty/Types.Identity

(static) ROSLIB :ROSLIB

Type:
  • ROSLIB

(static) types

Methods

(async, static) call()

(async, static) create()

(async, static) createDocument()

(async, static) decrypt(reply, expectedSender, expectClearTextReply)

Parameters:
NameTypeDescription
replydataparty_crypto.Message
expectedSenderdataparty_crypto.Identity
expectClearTextReplyboolean

(async, static) encrypt(data, to) → {dataparty_crypto.Message}

Parameters:
NameTypeDescription
dataany
todataparty_crypto.Identity
Returns:
Type: 
dataparty_crypto.Message

(static) find() → {module:Party.Query}

Starts a query

Returns:
Type: 
module:Party.Query

(static) hasActor()

(static) hasIdentity()

(async, static) loadActor()

(async, static) loadIdentity()

(async, static) remove()

(async, static) resetIdentity()

(async, static) start()

(async, static) update()