Show
Ignore:
Timestamp:
03/22/09 15:00:47 (15 years ago)
Author:
bhilburn
Message:

Implemented a remote component information struct in containers that can be used
to represent either the shell or the SML.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • vtcross/trunk/src/include/vtcross/containers.h

    r173 r183  
    1313 
    1414 
     15#include <netdb.h> 
    1516#include <stdint.h> 
    1617#include <string> 
     
    7677}; 
    7778 
     79 
     80/* Contains information regarding a remote component in a VTCROSS system.  Note 
     81 * that this information is independent of component type, but technically will 
     82 * only ever be the SML or shell. 
     83 */ 
     84struct RemoteComponent { 
     85    struct hostent *server; 
     86    std::string serverName; 
     87    std::string serverPort; 
     88    int32_t socketFD; 
     89}; 
     90 
    7891#endif