Ntk.Core.PeerToPeerAll Reference Manual
Packages
vd
Ntk
Core
PeerToPeerAll
aggregated_neighbour_manager
maproute
PeerToPeerAll
get_optional_participants
leave_all_optional_peer_to_peer
peer_to_peer_register
pid_add
pid_del
pid_get
report_status
report_status_hash
retrieve_optional_services_and_participants
start_operations
stop_operations
PeerToPeerAll
Object Hierarchy:
Description:
public
class
PeerToPeerAll
:
Object
,
IPeerToPeerAll
Class of all the registered peer_to_peer services
All known sub-classes:
AuxiliaryPeerToPeerAll
BnodeTunnelingPeerToPeerAll
Namespace:
Ntk.Core
Package:
vd
Content:
Properties:
public
AggregatedNeighbourManager
aggregated_neighbour_manager
{
set
;
get
; }
public
MapRoute
maproute
{
set
;
get
; }
Creation methods:
public
PeerToPeerAll
(
AggregatedNeighbourManager
aggregated_neighbour_manager,
MapRoute
maproute)
Methods:
public
string
report_status
()
public
uint32
report_status_hash
()
public
PeerToPeer
pid_add
(
int
pid)
public
PeerToPeer
pid_get
(
int
pid)
public
void
pid_del
(
int
pid)
public
virtual
void
peer_to_peer_register
(
PeerToPeer
peer_to_peer)
throws
PeerToPeerError
Used to add for the first time a PeerToPeer instance of a module in the PeerToPeerAll dictionary.
public
void
leave_all_optional_peer_to_peer
()
public
SetOptionalServiceParticipants
get_optional_participants
()
public
void
retrieve_optional_services_and_participants
()
It gets the peer_to_peer maps from our nearest neighbour.
public
void
start_operations
()
public
void
stop_operations
()