Date: Wednesday, January 25, 2006 @ 23:12:14
Author: gilles
Path: /cvsroot/carob/carob/include
Modified: JavaSocket.hpp (1.23 -> 1.24)
Added file descriptor accessor (for future controller ping function)
----------------+
JavaSocket.hpp | 6 +++++-
1 files changed, 5 insertions(+), 1 deletion(-)
Index: carob/include/JavaSocket.hpp
diff -u carob/include/JavaSocket.hpp:1.23 carob/include/JavaSocket.hpp:1.24
--- carob/include/JavaSocket.hpp:1.23 Wed Jan 25 17:03:07 2006
+++ carob/include/JavaSocket.hpp Wed Jan 25 23:12:14 2006
@@ -149,7 +149,11 @@
*/
void readJavaBool(bool& b) const throw (SocketIOException,
UnexpectedException);
-
+ /**
+ * Gets the socket file descriptor
+ * @return the file descriptor
+ */
+ int getFd() const { return socketFd; }
protected:
/**
* Substitute for recv. Loops/blocks until full length has been received.
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits