Just like this:

There are some services in the thrift_socket_server, it can be accept request 
of clients, and in acoording to requests of client , routing different request 
to specific service. so all service can be in one server which provide 
centralized position to clients.

Otherwise, i must be writing multiple thrift_socket_servers that listen on 
different port to provide multiple service, It is like so, right now ?


在 2015年3月26日,10:44,alisdair s <[email protected]> 写道:

> no promises, but i'll see if i can add these protocols this weekendOn Mar 25, 
> 2015 7:40 PM, hezhiqiang <[email protected]> wrote:
>> 
>> I’m using erlang, there are no equivalent of TMultiplexedProcessor, 
>> TMultiplexedProtocol of java in erlang. 
>> 
>> Note: i’m using the Thrift erlang server. 
>> 
>> 
>> 在 2015年3月26日,10:30,Stuart Reynolds <[email protected]> 写道: 
>> 
>>> TMultiplexedProcessor, TMultiplexedProtocol 
>>> http://stackoverflow.com/questions/19614648/service-multiplexing-using-apache-thrift
>>>  
>>> 
>>> On Wed, Mar 25, 2015 at 7:26 PM, hezhiqiang <[email protected]> 
>>> wrote: 
>>>> Any body knows how to add multiple services in a single 
>>>> thrift_socket_server ? 
>>>> 
>>>> Please give me some suggestions. 
>>>> 
>>>> Thank you. 
>> 
>> 
>> 



Reply via email to