BIND 10 #1522: Implementatio of isc::server_common::SocketRequestor
BIND 10 Development
do-not-reply at isc.org
Wed Dec 21 13:34:49 UTC 2011
#1522: Implementatio of isc::server_common::SocketRequestor
-------------------------------------+-------------------------------------
Reporter: vorner | Owner:
Type: task | Status: new
Priority: blocker | Milestone:
Component: Unclassified | Sprint-20120110
Sensitive: 0 | Keywords:
Sub-Project: Core | Defect Severity: N/A
Estimated Difficulty: 0 | Feature Depending on Ticket:
Total Hours: 0 | Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
This is task split of #805. The commit
c8caecc35195080d091611bb0809cbc2834ba3f4 (on the trac805 branch)
introduces an interface of the SocketRequestor. That is supposed to
actually get the socket over the wire from the boss.
The plan is to implement a concrete class implementing the methods. The
tests may even subclass this concrete class (the tests might even want to
subclass this concrete class to mock the communication over the unix
domain socket).
The requestSocket would be blocking, it would send the request over the CC
session, wait for the answer, check if the unix domain socket is already
connected, if not, connect, and pick up the socket over it.
The releaseSocket would just send the request over the CC session and wait
for the answer (so the answer is picked up and isn't stuck there forever).
The SocketRequestor::init function should be implemented in this task as
well.
--
Ticket URL: <http://bind10.isc.org/ticket/1522>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list