Changeset 183
- Timestamp:
- 03/22/09 15:00:47 (15 years ago)
- Location:
- vtcross/trunk/src/include/vtcross
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
vtcross/trunk/src/include/vtcross/components.h
r182 r183 134 134 135 135 136 /* Contains information regarding the SML in a VTCROSS system. Note that if137 * there is no SML present, the engine should have no instantiation of this138 * struct.139 *140 * TODO pretty sure this guy is wholly unnecessary... should be using standard141 * TCP/IP structs like hostent....142 */143 struct SML_Info {144 std::string hostname;145 std::string port;146 int32_t socketFD;147 };148 149 150 136 /* Policy Engine class declaration. All public functions are inherited from 151 137 * parent classes. … … 193 179 194 180 195 /* Contains information regarding the presence of a service management 196 * layer. If this pointer is NULL, then there is no SML present in the 197 * radio system. 198 */ 199 struct SML_Info *SML; 181 /* The RemoteComponent struct represents either the VTCROSS shell or the 182 * VTCROSS SML. If 'SML_present' is false, it is the former. Otherwise, 183 * it is the latter. 184 */ 185 bool SML_present; 186 struct RemoteComponent *control; 200 187 }; 201 188 -
vtcross/trunk/src/include/vtcross/containers.h
r173 r183 13 13 14 14 15 #include <netdb.h> 15 16 #include <stdint.h> 16 17 #include <string> … … 76 77 }; 77 78 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 */ 84 struct RemoteComponent { 85 struct hostent *server; 86 std::string serverName; 87 std::string serverPort; 88 int32_t socketFD; 89 }; 90 78 91 #endif