vxi-discuss



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shutting down VXI



Walker, William J (William) écrivait ( Thursday 4/19/01 09:30 AM ) dans le 
message ci-dessous:
---

>Once a platform has started a executing a session via VXIapiRun(url),
>what is the proper way to cleanly stop the session if the platform
>detects that the remote end disconnects?  Will calling VXIapiDestroy()
>from the platform's thread cleanly stop the script and shut down the
>VXI thread?

Yes...for me, it's the only solution... in the reference doc, it's writed: 
"This call (VXIapiDestroy) is the reciprocical of VXIapiCreate and should 
be called when a given VXI object is no longer needed. Typically this 
called at the end of each call."

But I answer by another questions:
*When we do that, what's the VXIResult of VXIapiRun ???

   VXIresultSUCCESS   VXIresultERROR   VXIresultNOTENOUGHMEMORY 
VXIresultNO_INTERFACE    VXIresultUNEXPECTED
   VXIresultFAIL     VXIresultPOINTER   VXIresultHANDLE 
VXIresultACCESSDENIED   VXIresultBAD_INLINE_SYNTAX
   VXIresultINVALIDPARAM   VXIresultIOERROR   VXIresultTIMEOUT 
VXIresultFATALERROR   VXIresultJSERROR
   VXIresultJSEXCEPTION    VXIresultHUNGUP   VXIresultNOTSUPPORTED  ??????

And what about VXIapiGetResult(vxi,&val) in this case?




>Thanks,
>BW
>
>Bill Walker
>Avaya Inc.
>wjw@avaya.com
>1-732-817-4609
---





This page is maintained by Alan W Black (awb@cs.cmu.edu)
speechinfo.org is hosted on a machine donated by VA Linux Systems
VA Linux Systems