xmpp_p2p
Preparing search index...
core/xmpp-collection
XmppCollectionContext
Interface XmppCollectionContext
Runtime dependencies required by the collection manager.
interface
XmppCollectionContext
{
jid
:
string
;
libp2p
:
any
;
ready
:
Promise
<
void
>
;
storage
:
XmppStorage
;
emit
(
event
:
string
,
...
args
:
any
[]
)
:
boolean
;
ensureTopicValidator
(
topic
:
string
,
kind
:
"secure"
|
"subscription"
|
"feed"
|
"attachment"
|
"collection"
,
)
:
void
;
getOrCreateStream
(
peerAddr
:
string
|
Multiaddr
)
:
Promise
<
XmppStream
>
;
getPubSubService
()
:
any
;
}
Index
Properties
jid
libp2p
ready
storage
Methods
emit
ensure
Topic
Validator
get
Or
Create
Stream
get
Pub
Sub
Service
Properties
jid
jid
:
string
libp2p
libp2p
:
any
ready
ready
:
Promise
<
void
>
storage
storage
:
XmppStorage
Methods
emit
emit
(
event
:
string
,
...
args
:
any
[]
)
:
boolean
Parameters
event
:
string
...
args
:
any
[]
Returns
boolean
ensure
Topic
Validator
ensureTopicValidator
(
topic
:
string
,
kind
:
"secure"
|
"subscription"
|
"feed"
|
"attachment"
|
"collection"
,
)
:
void
Parameters
topic
:
string
kind
:
"secure"
|
"subscription"
|
"feed"
|
"attachment"
|
"collection"
Returns
void
get
Or
Create
Stream
getOrCreateStream
(
peerAddr
:
string
|
Multiaddr
)
:
Promise
<
XmppStream
>
Parameters
peerAddr
:
string
|
Multiaddr
Returns
Promise
<
XmppStream
>
get
Pub
Sub
Service
getPubSubService
()
:
any
Returns
any
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
jid
libp2p
ready
storage
Methods
emit
ensure
Topic
Validator
get
Or
Create
Stream
get
Pub
Sub
Service
xmpp_p2p
Loading...
Runtime dependencies required by the collection manager.