Peer
Class
constructor
name
connection
Acquired
connection
Closed
get
Connections
get
Swarm
Leader
is
Swarm
Leader
list
Peers
peer
Found
peer
Lost
NODE-GTK API Reference
Dee-1.0
Dee
PeerClass
Class PeerClass
Hierarchy
PeerClass
Index
Constructors
constructor
Properties
name
Methods
connection
Acquired
connection
Closed
get
Connections
get
Swarm
Leader
is
Swarm
Leader
list
Peers
peer
Found
peer
Lost
Constructors
constructor
new
Peer
Class
(
)
:
PeerClass
Returns
PeerClass
Properties
Static
name
name
:
string
Methods
connection
Acquired
connection
Acquired
(
self
:
Peer
, connection
:
DBusConnection
)
:
void
Parameters
self:
Peer
connection:
DBusConnection
Returns
void
connection
Closed
connection
Closed
(
self
:
Peer
, connection
:
DBusConnection
)
:
void
Parameters
self:
Peer
connection:
DBusConnection
Returns
void
get
Connections
get
Connections
(
self
:
Peer
)
:
DBusConnection
[]
Parameters
self:
Peer
Returns
DBusConnection
[]
get
Swarm
Leader
get
Swarm
Leader
(
self
:
Peer
)
:
string
Parameters
self:
Peer
Returns
string
is
Swarm
Leader
is
Swarm
Leader
(
self
:
Peer
)
:
boolean
Parameters
self:
Peer
Returns
boolean
list
Peers
list
Peers
(
self
:
Peer
)
:
string
[]
Parameters
self:
Peer
Returns
string
[]
peer
Found
peer
Found
(
self
:
Peer
, name
:
string
)
:
void
Parameters
self:
Peer
name:
string
Returns
void
peer
Lost
peer
Lost
(
self
:
Peer
, name
:
string
)
:
void
Parameters
self:
Peer
name:
string
Returns
void
Peer
Class
constructor
name
connection
Acquired
connection
Closed
get
Connections
get
Swarm
Leader
is
Swarm
Leader
list
Peers
peer
Found
peer
Lost
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJEZWVfMV8wLkRlZS5QZWVyQ2xhc3MuaHRtbCNjb25zdHJ1Y3RvciIsIm5hbWUiOiJjb25zdHJ1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