, but it solves my use
case. The IfHandler's this pointer is all the context I need.
From: Ben Craig ben.cr...@ni.com
To: dev@thrift.apache.org,
Date: 01/04/2013 09:20 AM
Subject:Link a code generated server interface with a
TServerEventHandler context?
Short version
Short version of the question:
Is there any way in C++ Thrift to get the TServerEventHandler context into
a call on my server interface handler?
Long question + background:
I am running a daemon, and connecting to it with multiple applications,
all over AF_UNIX sockets. Each application has a
Add Destroy() call to your server interface. That way full lifecycle of
reverse connection is under client control.
void Destroy(1: string reverseConnectionInfo)
On 1/4/13 7:19 AM, Ben Craig ben.cr...@ni.com wrote:
void Initialize(1: string reverseConnectionInfo),
.com
To: dev@thrift.apache.org dev@thrift.apache.org,
Date: 01/04/2013 12:47 PM
Subject:Re: Link a code generated server interface with a
TServerEventHandler context?
Add Destroy() call to your server interface. That way full lifecycle of
reverse connection is under client control
/04/2013 12:47 PM
Subject:Re: Link a code generated server interface with a
TServerEventHandler context?
Add Destroy() call to your server interface. That way full lifecycle of
reverse connection is under client control.
void Destroy(1: string reverseConnectionInfo)
On 1/4/13 7:19 AM
@thrift.apache.org dev@thrift.apache.org,
Date: 01/04/2013 01:31 PM
Subject:Re: Link a code generated server interface with a
TServerEventHandler context?
I may have misunderstood your question. But to me your problem has very
little to do with thrift. The issue of safely recycling