[
https://issues.apache.org/jira/browse/THRIFT-2310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13887237#comment-13887237
]
Hudson commented on THRIFT-2310:
--------------------------------
SUCCESS: Integrated in Thrift #1024 (See
[https://builds.apache.org/job/Thrift/1024/])
THRIFT-2310 PHP Client-side support for Multiplexing Services (Patch v1 ONLY)
(jensg: rev b3e784994a57d3acad4f807b9ebd89caa72889c8)
* lib/php/lib/Thrift/Protocol/TMultiplexedProtocol.php
* lib/php/lib/Thrift/Protocol/TProtocolDecorator.php
> 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
> Fix For: 0.9.2
>
> 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)