'ODTONE - Open Dot Twenty One'

PrevUpHomeNext

Struct mos_info

odtone::mih::mos_info

Synopsis

// In header: </home/carlos/Projectos/odtone/inc/odtone/mih/types/odtone.hpp>


struct mos_info {

  // public member functions
  template<typename ArchiveT> void serialize(ArchiveT &);
  bool operator==(const mos_info &) const;

  // public data members
  mih::id id;
  ip_addr ip;
  uint16 port;
};

Description

Define MOS_INFO data type.

mos_info public member functions

  1. template<typename ArchiveT> void serialize(ArchiveT & ar);

    Serialize/deserialize the MOS_INFO data type.

    Parameters:

    ar

    The archive to/from where serialize/deserialize the data type.

  2. bool operator==(const mos_info & other) const;

    Check if the MOS_INFO is equal to another MOS_INFO.

    Parameters:

    other

    The MOS_INFO to compare with.

    Returns:

    True if they are equal or false otherwise.

mos_info public public data members

  1. mih::id id;

    PoS identifier.

  2. ip_addr ip;

    PoS IP address.

  3. uint16 port;

    PoS listening port.


PrevUpHomeNext