Ignore:
Timestamp:
11/26/14 15:12:12 (9 years ago)
Author:
mhnguyen
Message:

Fixing bug of automatic dection of buffer size

+) Split sending of longtitude and latitude event message to decrease its size into 2
+) Correct size of buffer on client and server side
+) Do some cleaning code

Test
+) On Curie
+) Test only on domain (without axis), all passed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/domain.hpp

    r509 r518  
    3737         enum EEventId 
    3838         { 
    39            EVENT_ID_SERVER_ATTRIBUT, EVENT_ID_LON_LAT 
     39           EVENT_ID_SERVER_ATTRIBUT, EVENT_ID_LAT, EVENT_ID_LON 
    4040         } ; 
    4141 
     
    126126         void computeConnectedServer(void) ; 
    127127         static bool dispatchEvent(CEventServer& event) ; 
    128          static void recvLonLat(CEventServer& event) ; 
     128         static void recvLat(CEventServer& event) ; 
     129         static void recvLon(CEventServer& event) ; 
    129130         static void recvServerAttribut(CEventServer& event) ; 
    130          void recvLonLat(CBufferIn& buffer) ; 
     131         void recvLat(CBufferIn& buffer) ; 
     132         void recvLon(CBufferIn& buffer) ; 
    131133         void recvServerAttribut(CBufferIn& buffer) ; 
    132134 
Note: See TracChangeset for help on using the changeset viewer.