Changeset 84 in tmcsimulator for branches/FEPSimulator/FEPSim.h


Ignore:
Timestamp:
10/06/2017 11:44:52 PM (9 years ago)
Author:
jtorres
Message:

FEPSimulator.cpp: FEPSimulator socket server is now receiving full messages, no more partial messages over the TCP socket. General housekeeping on FEPSim.cpp, NetworkReader?.cpp, ATMSDriver.java, NetworkLoader?.java.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/FEPSimulator/FEPSim.h

    r82 r84  
    4040const int BUFF_SIZE = 1000000; 
    4141 
    42 class FEPSim 
    43 { 
    44         public: 
    45         /* members */ 
    46                 CLIENT *clnt; // RPC Client 
     42class FEPSim { 
     43public: 
     44    /* members */ 
     45    CLIENT *clnt; // RPC Client 
    4746 
    48         /* methods */ 
    49                 FEPSim(char * host, char * networkFile); // Constructor 
    50                 ~FEPSim(); // Destructor 
     47    /* methods */ 
     48    FEPSim(char * ATMSHost); // Constructor 
     49     
     50    void updateATMS(char * xml); // updates ATMS 
    5151 
    52         private: 
    53         /* members */ 
    54         NetworkReader *networkReader; 
    55         char * ATMSHost; 
    56          
    57         /* methods */ 
    58         void handleCallResponse(void *response); // 
    59         void createClient(char *host); 
    60         void updateATMS(); // updates ATMS 
     52    ~FEPSim(); // Destructor 
     53 
     54private: 
     55    /* members */ 
     56    char * ATMSHost; 
     57 
     58    /* methods */ 
     59    void handleCallResponse(void *response); // 
     60    bool createClient(char *host); 
     61    void sendReplys(char * xml); 
    6162 
    6263}; 
Note: See TracChangeset for help on using the changeset viewer.