source: XIOS/trunk/src/event_client.hpp @ 539

Last change on this file since 539 was 501, checked in by ymipsl, 10 years ago

Add licence copyright to all file ond directory src using the command :
svn propset -R copyright -F header_licence src

XIOS is now officialy under CeCILL licence

YM

  • Property copyright set to
    Software name : XIOS (Xml I/O Server)
    http://forge.ipsl.jussieu.fr/ioserver
    Creation date : January 2009
    Licence : CeCCIL version2
    see license file in root directory : Licence_CeCILL_V2-en.txt
    or http://www.cecill.info/licences/Licence_CeCILL_V2-en.html
    Holder : CEA/LSCE (Laboratoire des Sciences du CLimat et de l'Environnement)
    CNRS/IPSL (Institut Pierre Simon Laplace)
    Project Manager : Yann Meurdesoif
    yann.meurdesoif@cea.fr
File size: 745 bytes
Line 
1#ifndef __EVENT_CLIENT_HPP__
2#define __EVENT_CLIENT_HPP__
3
4#include "xmlioserver_spl.hpp"
5#include "buffer_out.hpp"
6#include "message.hpp"
7
8namespace xios
9{
10 
11  class CEventClient
12  {
13    public:
14   
15//    CEventClient(CContextClient& client,int nbSender,list<int>& serverList); 
16    CEventClient(int classId, int typeId);
17    void push(int rank,int nbSender, CMessage& msg) ; 
18
19//    list<CBufferOut*> newEvent(int classId, int type, list<int> sizes) ;
20    list<int> getRanks(void) ;
21    list<int> getSizes(void) ;
22    void send(list<CBufferOut*>&) ;   
23    bool isEmpty(void) ;
24    list<int> ranks ;
25    list<int> nbSenders ;
26    list<CMessage*> messages ;
27//    CContextClient* client ;
28    int classId ;
29    int typeId ;
30  } ;
31
32}
33
34#endif
Note: See TracBrowser for help on using the repository browser.