Skip to content

Class skydata::centralized::CentralizedClient

ClassList > skydata > centralized > CentralizedClient

More...

Public Functions

Type Name
CentralizedClient ()
void addTuple (String addr, String mtp)
Set< SKAID > getTuples ()

Detailed Description

This class allows the Harbour to contact the central point in order to obtain the adress of the others Harbours.

Public Functions Documentation

function CentralizedClient

inline skydata::centralized::CentralizedClient::CentralizedClient () 

Initialize the connection with the central point


function addTuple

inline void skydata::centralized::CentralizedClient::addTuple (
    String addr,
    String mtp
) 

This function send to the central point the adress of this harbour.

Parameters:

  • addr : the IP address
  • mtp : the adress of the MTP

function getTuples

inline Set< SKAID > skydata::centralized::CentralizedClient::getTuples () 

This function fetch the adresses of all harbour from the central point.

Returns:

A list of all harbours



The documentation for this class was generated from the following file /home/maxime/Desktop/skd_proto_v2/skd/src/main/java/skydata/centralized/CentralizedClient.java