cpp: Support oneway calls in TDebugProtocol.cpp
authorDavid Reiss <dreiss@apache.org>
Mon, 18 Oct 2010 17:25:40 +0000 (17:25 +0000)
committerDavid Reiss <dreiss@apache.org>
Mon, 18 Oct 2010 17:25:40 +0000 (17:25 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1023913 13f79535-47bb-0310-9956-ffa450edef68

lib/cpp/src/protocol/TDebugProtocol.cpp

index 93980f0..ee82e71 100644 (file)
@@ -153,6 +153,7 @@ uint32_t TDebugProtocol::writeMessageBegin(const std::string& name,
     case T_CALL      : mtype = "call"   ; break;
     case T_REPLY     : mtype = "reply"  ; break;
     case T_EXCEPTION : mtype = "exn"    ; break;
+    case T_ONEWAY    : mtype = "oneway" ; break;
   }
 
   uint32_t size = writeIndented("(" + mtype + ") " + name + "(");