botsense/bsProxy/bsProxyMod.c
void ModCbSendRsp(BsVConnHnd_T hndVConn,
                  BsTid_T      uTid,
                  BsMsgId_T    uMsgId,
                  byte_t       bufRsp[],
                  size_t       uRspLen)
{
  BsProxyVConn_T  *pVConn;

  if( (pVConn = VConnGet(hndVConn)) != NULL )
  {
    ClientSendRsp(pVConn->m_hndClient, hndVConn, uTid, uMsgId, bufRsp, uRspLen);
  }
  else
  {
    LOGERROR("%s: %s(ecode=%d): VConn=%d.",
      ServerHasName(), bsStrError(BS_ECODE_NO_VCONN), BS_ECODE_NO_VCONN,
      hndVConn);
  }
}
/*!
 * \brief Send module-specific repsonse callback function.
 *
 * \note Service thread request handler has already locked the virtual
 * connection.
 *
 * \param hndVConn  Virtual connection handle.
 * \param uTid      Request-Response transaction id.
 * \param uMsgId    Response message id.
 * \param bufRsp    Packed repsonse message body.
 * \param uRspLen   Length of response in buffer (number of bytes).
 */
\brief Send module-specific repsonse callback function.
\note Service thread request handler has already locked the virtual
connection.

\param hndVConn  Virtual connection handle.
\param uTid      Request-Response transaction id.
\param uMsgId    Response message id.
\param bufRsp    Packed repsonse message body.
\param uRspLen   Length of response in buffer (number of bytes).
\ brief Send module - specific repsonse callback function . \ note Service thread request handler has already locked the virtual connection . \ param hndVConn Virtual connection handle . \ param uTid Request - Response transaction id . \ param uMsgId Response message id . \ param bufRsp Packed repsonse message body . \ param uRspLen Length of response in buffer ( number of bytes ) .
void ModCbSendRsp(BsVConnHnd_T hndVConn,
                  BsTid_T      uTid,
                  BsMsgId_T    uMsgId,
                  byte_t       bufRsp[],
                  size_t       uRspLen)
{
  BsProxyVConn_T  *pVConn;
  if( (pVConn = VConnGet(hndVConn)) != NULL )
  {
    ClientSendRsp(pVConn->m_hndClient, hndVConn, uTid, uMsgId, bufRsp, uRspLen);
  }
  else
  {
    LOGERROR("%s: %s(ecode=%d): VConn=%d.",
      ServerHasName(), bsStrError(BS_ECODE_NO_VCONN), BS_ECODE_NO_VCONN,
      hndVConn);
  }
}
void ModCbSendRsp ( BsVConnHnd_T hndVConn , BsTid_T uTid , BsMsgId_T uMsgId , byte_t bufRsp [ ] , size_t uRspLen ) { BsProxyVConn_T * pVConn ; if ( ( pVConn = VConnGet ( hndVConn ) ) != NULL ) { ClientSendRsp ( pVConn -> m_hndClient , hndVConn , uTid , uMsgId , bufRsp , uRspLen ) ; } else { LOGERROR ( " " , ServerHasName ( ) , bsStrError ( BS_ECODE_NO_VCONN ) , BS_ECODE_NO_VCONN , hndVConn ) ; } }
\brief Send module-specific repsonse callback function.
\ brief Send module - specific repsonse callback function .