Nonblockingserver constructor that uses binary protocol factory by default

Reviewed By: tbr-aditya


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664937 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/server/TNonblockingServer.h b/lib/cpp/src/server/TNonblockingServer.h
index c8bfcb5..4ea3fa3 100644
--- a/lib/cpp/src/server/TNonblockingServer.h
+++ b/lib/cpp/src/server/TNonblockingServer.h
@@ -50,6 +50,13 @@
   void handleEvent(int fd, short which);
 
  public:
+  TNonblockingServer(shared_ptr<TProcessor> processor,
+                     int port) :
+    TServer(processor),
+    serverSocket_(0),
+    port_(port),
+    frameResponses_(true) {}
+
   TNonblockingServer(shared_ptr<TProcessor> processor, 
                      shared_ptr<TProtocolFactory> protocolFactory,
                      int port) :