You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by dr...@apache.org on 2010/08/31 00:05:17 UTC
svn commit: r990971 - /incubator/thrift/trunk/test/erl/src/test_server.erl
Author: dreiss
Date: Mon Aug 30 22:05:17 2010
New Revision: 990971
URL: http://svn.apache.org/viewvc?rev=990971&view=rev
Log:
erlang: Make the test_server use thrift_socket_server
thrift_server is deprecated, it seems.
Modified:
incubator/thrift/trunk/test/erl/src/test_server.erl
Modified: incubator/thrift/trunk/test/erl/src/test_server.erl
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/test/erl/src/test_server.erl?rev=990971&r1=990970&r2=990971&view=diff
==============================================================================
--- incubator/thrift/trunk/test/erl/src/test_server.erl (original)
+++ incubator/thrift/trunk/test/erl/src/test_server.erl Mon Aug 30 22:05:17 2010
@@ -24,7 +24,9 @@
-include("thriftTest_types.hrl").
start_link(Port) ->
- thrift_server:start_link(Port, thriftTest_thrift, ?MODULE).
+ thrift_socket_server:start([{handler, ?MODULE},
+ {service, thriftTest_thrift},
+ {port, Port}]).
handle_function(testVoid, {}) ->