Hi,<br><br>I was wondering if there is any existing mechanism in omniORB to receive information about incoming requests (module::interface::function::arguments)? We have existing logging framework and would like to log requests in the order they are processed.<br>
<br><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">I spent 30 mins
digging around omniORB code and found smth:</span></font>
<p style="margin: 0cm 0cm 0.0001pt;"><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">- register <i><span style="font-style: italic;">serverReceiveRequest</span></i> interceptor</span></font></p>
<p style="margin: 0cm 0cm 0.0001pt;"><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">- in interceptor
you’ll receve a reference to <i><span style="font-style: italic;">omni::omniInterceptors::serverReceiveRequest_T::info_T</span></i>
structure that has <i><span style="font-style: italic;">GIOP_S& giop_s</span></i>
member</span></font></p>
<p style="margin: 0cm 0cm 0.0001pt;"><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">- that might be used to
get a lot various pieces of info, among them:</span></font></p>
<p style="margin: 0cm 0cm 0.0001pt;"><i><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy; font-style: italic;">
omniCallDescriptor* calldescriptor()</span></font></i></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">- and that structure contains something
that looks useful, e.g.: </span></font></p>
<p style=""><font size="2" face="Courier New"><span style="font-size: 10pt; font-family: "Courier New";"> <font color="blue"><span style="color: blue;">inline</span></font> <font color="blue"><span style="color: blue;">const</span></font> <font color="blue"><span style="color: blue;">char</span></font>* op() <font color="blue"><span style="color: blue;">const</span></font>
{ <font color="blue"><span style="color: blue;">return</span></font>
pd_op; }</span></font></p>
<p style=""><font size="2" face="Courier New"><span style="font-size: 10pt; font-family: "Courier New";"> <font color="blue"><span style="color: blue;">inline</span></font> _CORBA_Boolean is_oneway() <font color="blue"><span style="color: blue;">const</span></font> { <font color="blue"><span style="color: blue;">return</span></font> pd_is_oneway; }</span></font></p>
<p style=""><font size="2" face="Courier New"><span style="font-size: 10pt; font-family: "Courier New";"> etc.<br></span></font></p>Am I looking in the right direction or there is already something that I can leverage?<br clear="all">
<br>-- <br>Sincerely yours,<br>Michael.<br>