[
https://issues.apache.org/jira/browse/THRIFT-3859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15871014#comment-15871014
]
ASF GitHub Bot commented on THRIFT-3859:
----------------------------------------
Github user jeking3 commented on the issue:
https://github.com/apache/thrift/pull/1031
If there isn't one there yet I would recommend following the pattern for
java in there. Specifically you would need a new test/ subdirectory for cocoa
with test_client and test_server scripts, and you would need a stanza in
tests.json that the test.py script could run.
You can test your scripts against a single client or server like this,
after running a "make" following configure in test/:
./test.py --client cocoa --server java
./test.py --client java --server cocoa
You could substitute cpp for java as well. Then when those pass, try a
"make cross" to see if everything passes.
> Unix Domain Socket Support in Objective-C
> -----------------------------------------
>
> Key: THRIFT-3859
> URL: https://issues.apache.org/jira/browse/THRIFT-3859
> Project: Thrift
> Issue Type: Improvement
> Components: Cocoa - Library
> Affects Versions: 0.10.0
> Reporter: Chris Vasselli
> Priority: Minor
>
> I would like to be able to use Unix Domain Sockets as the transport to
> communicate between different processes on a single machine. There seems to
> be support in the C++ and Python libraries (the two other languages used in
> my project), but no support in Objective-C.
> Proposed server interface:
> {{TSocketServer *server = [[TSocketServer alloc]
> initWithPath:@"/path/to/pipe" protocolFactory:protocolFactory
> processorFactory:processorFactory];}}
> Proposed client interface:
> {{TSocketTransport *socket = [[TSocketTransport alloc]
> initWithPath:@"/path/to/pipe"];}}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)