Changeset 30:d92d686b4d70 in xplra for src
- Timestamp:
- 02/09/13 08:59:10 (12 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- src/client/c/hu/varadiistvan/xplra
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/client/c/hu/varadiistvan/xplra/XPlane.cc
r26 r30 40 40 41 41 #include <memory> 42 43 #ifndef _WIN32 44 #include <signal.h> 45 #endif 42 46 43 47 //------------------------------------------------------------------------------ … … 96 100 //------------------------------------------------------------------------------ 97 101 98 void XPlane::checkResult() throw(ProtocolException )102 void XPlane::checkResult() throw(ProtocolException, IOException) 99 103 { 100 104 uint8_t result = stream->readU8(); … … 137 141 } 138 142 } 143 144 #ifndef _WIN32 145 signal(SIGPIPE, SIG_IGN); 146 #endif 139 147 140 148 socket = clientSocket.release(); -
src/client/c/hu/varadiistvan/xplra/XPlane.h
r26 r30 280 280 /** 281 281 * Read and check the result. If it signifies an error, 282 * throw a ProtocolException with the correct error code. 283 */ 284 void checkResult() throw(ProtocolException); 282 * throw a ProtocolException with the correct error code. If there 283 * is some problem with the stream, an IOException is thrown. 284 */ 285 void checkResult() throw(ProtocolException, IOException); 285 286 286 287 /**
Note:
See TracChangeset
for help on using the changeset viewer.