Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions  Download package

tsp1_param_info * DBMSrvKnl_Session::ParamInfo (  ) 

parameter info of answer

public member

Definition at line 615 of file DBMSrvKnl_Session.cpp.

References PIn_ReplySegment::ErrorCode(), PIn_ReplySegment::FindPart(), PIn_ReplyPacket::GetFirstSegment(), PIn_Part::GetReadData(), PIn_Part::IsValid(), and PIn_SQLPacket::IsValid().

Referenced by DBMSrv_SQLRecord::getNextRecord().

{
  PIn_ReplyPacket  oPacket(this->pReceivePacket);
  // check answer packet
  if (oPacket.IsValid()) {
    PIn_ReplySegment oSegment = oPacket.GetFirstSegment ();
    if (oSegment.ErrorCode() == 0) {
      PIn_Part oShortInfo = oSegment.FindPart(sp1pk_shortinfo);
      if (oShortInfo.IsValid()) {
        return  (tsp1_param_info *) oShortInfo.GetReadData();
      } // end if
    } // end if
  } // end if

  return NULL;
} // DBMSrvKnl_Session :: ParamInfo


Generated by  Doxygen 1.6.0   Back to index