[svn] commit: r235 - /branches/f2f200910/src/lib/cc/cpp/session.h
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Oct 30 17:37:04 UTC 2009
Author: jinmei
Date: Fri Oct 30 17:37:04 2009
New Revision: 235
Log:
a quick hack to get socket from a session object
Modified:
branches/f2f200910/src/lib/cc/cpp/session.h
Modified: branches/f2f200910/src/lib/cc/cpp/session.h
==============================================================================
--- branches/f2f200910/src/lib/cc/cpp/session.h (original)
+++ branches/f2f200910/src/lib/cc/cpp/session.h Fri Oct 30 17:37:04 2009
@@ -30,6 +30,9 @@
Session();
+ // XXX: quick hack to allow the user to watch the socket directly.
+ int getSocket() const { return (sock); }
+
void establish();
void disconnect();
void sendmsg(ISC::Data::ElementPtr& msg);
More information about the bind10-changes
mailing list