[
https://issues.apache.org/jira/browse/THRIFT-2310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13875612#comment-13875612
]
Jens Geyer commented on THRIFT-2310:
------------------------------------
HiI [~AlexanderElyseev],
I just recognized that your goal is really to provide the client-side code
only. Ok, that's unusual, but why not. I'd still propose to continue as follows
with this ticket:
1. add a (small) client-side multiplex testcase based on the C# sample linked
above.
2. split all the other, independent, testcase stuff into a separate ticket
Appreciating your contribution,
JensG
> PHP: Client-side support for Multiplexing Services
> --------------------------------------------------
>
> Key: THRIFT-2310
> URL: https://issues.apache.org/jira/browse/THRIFT-2310
> Project: Thrift
> Issue Type: Sub-task
> Components: PHP - Library
> Affects Versions: 0.9.1
> Reporter: Alexander Elyseev
> Assignee: Jens Geyer
> Priority: Minor
> Labels: multiplexing
> Attachments: php_multiplexed_protocol.diff,
> php_multiplexed_protocol_v2.diff
>
>
> Attached patch contains implementation of TMultiplexedProtocol for PHP Thrift
> client that used TProtocolDecorator (the same approach from Java client).
> Example:
> {code}
> $socket = new TSocket('localhost', '9090');
> $transport = new TBufferedTransport($socket);
> $protocol = new TMultiplexedProtocol(new TBinaryProtocol($transport),
> "CalcService");
> $transport->open();
> $calcService = new CalcServiceClient($protocol);
> $calcService->calculate();
> {code}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)