2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00

a quick hack to get socket from a session object

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@235 e5f2f494-b856-4b98-b285-d166d9295462
This commit is contained in:
JINMEI Tatuya
2009-10-30 17:37:04 +00:00
parent 0823b0212a
commit c7c9915114

View File

@@ -30,6 +30,9 @@ namespace ISC {
Session(); Session();
// XXX: quick hack to allow the user to watch the socket directly.
int getSocket() const { return (sock); }
void establish(); void establish();
void disconnect(); void disconnect();
void sendmsg(ISC::Data::ElementPtr& msg); void sendmsg(ISC::Data::ElementPtr& msg);