Jpp  master_rocky-37-gf0c5bc59d
the software that should make you happy
Public Member Functions | List of all members
JNET::JClientList Class Reference

List of ControlHost client managers. More...

Inheritance diagram for JNET::JClientList:
std::vector< JClient >

Public Member Functions

 JClientList ()
 Default constructor. More...
 
void add (const JDispatch &message)
 Add message to client queues depending on subscription of each client. More...
 
void drop ()
 Drop all messages from client queues for which the client has not the 'all' subscription. More...
 

Detailed Description

List of ControlHost client managers.

Definition at line 477 of file JLigier.cc.

Constructor & Destructor Documentation

◆ JClientList()

JNET::JClientList::JClientList ( )
inline

Default constructor.

Definition at line 484 of file JLigier.cc.

484  :
486  {}

Member Function Documentation

◆ add()

void JNET::JClientList::add ( const JDispatch message)
inline

Add message to client queues depending on subscription of each client.

Parameters
messagemessage

Definition at line 494 of file JLigier.cc.

495  {
496  for (iterator i = this->begin(); i != this->end(); ++i) {
497  i->add(message);
498  }
499  }

◆ drop()

void JNET::JClientList::drop ( )
inline

Drop all messages from client queues for which the client has not the 'all' subscription.

Definition at line 505 of file JLigier.cc.

506  {
507  for (iterator i = this->begin(); i != this->end(); ++i) {
508  i->drop();
509  }
510  }

The documentation for this class was generated from the following file: