Difference between revisions of "Send wait"
From SDU
NeronLeVelu (Talk | contribs) (→Usage) |
Agegeleruvy (Talk | contribs) |
||
| Line 1: | Line 1: | ||
| + | ---- | ||
| + | <div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;"> | ||
| + | ---- | ||
| + | =[http://ogetehuvo.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]= | ||
| + | ---- | ||
| + | =[http://ogetehuvo.co.cc CLICK HERE]= | ||
| + | ---- | ||
| + | </div> | ||
__NOTOC__ | __NOTOC__ | ||
[[Category:Customizations]] | [[Category:Customizations]] | ||
| Line 21: | Line 29: | ||
== Available methods == | == Available methods == | ||
| − | {| width= | + | {| width="100%" |
|- | |- | ||
| − | ! colspan=3|''' | + | ! colspan=3|'''<font size="3">Base object common</font>''' |
|- | |- | ||
|colspan=3|These methods are defined on all objects (maybe) | |colspan=3|These methods are defined on all objects (maybe) | ||
|- | |- | ||
| − | | width= | + | | width="34%" align="left" style="vertical-align:top;" | |
*[[Send_WaitCall_Attr|call_attr]] | *[[Send_WaitCall_Attr|call_attr]] | ||
| − | | width= | + | | width="33%" align="left" style="vertical-align:top;" | |
*[[get_attr_vals]] | *[[get_attr_vals]] | ||
| − | | width= | + | | width="33%" align="left" style="vertical-align:top;" | |
*[[Send_WaitGet_Co_group|get_co_group]] | *[[Send_WaitGet_Co_group|get_co_group]] | ||
|- | |- | ||
|} | |} | ||
| − | {| width= | + | {| width="100%" |
|- | |- | ||
| − | ! colspan=3|''' | + | ! colspan=3|'''<font size="3">Base object CR</font>''' |
|- | |- | ||
| − | | width= | + | | width="34%" align="left" style="vertical-align:top;" | |
*[[Send_WaitAuto_assign|auto_assign]] | *[[Send_WaitAuto_assign|auto_assign]] | ||
*[[Send_WaitChange_status|change_status]] | *[[Send_WaitChange_status|change_status]] | ||
| Line 48: | Line 56: | ||
*[[Send_WaitCob_mark_delete|dob_mark_delete]] | *[[Send_WaitCob_mark_delete|dob_mark_delete]] | ||
*[[Send_WaitCo_expand|do_expand]] | *[[Send_WaitCo_expand|do_expand]] | ||
| − | | width= | + | | width="33%" align="left" style="vertical-align:top;" | |
*[[Send_WaitEscalate|escalate]] | *[[Send_WaitEscalate|escalate]] | ||
*[[Send_WaitIinit_activity|init_activity]] | *[[Send_WaitIinit_activity|init_activity]] | ||
| Line 56: | Line 64: | ||
*[[Send_WaitLog_comment_no_checkout|log_comment_no_checkout]] | *[[Send_WaitLog_comment_no_checkout|log_comment_no_checkout]] | ||
*[[Send_WaitLog_event|log_event]] | *[[Send_WaitLog_event|log_event]] | ||
| − | | width= | + | | width="33%" align="left" style="vertical-align:top;" | |
*[[Send_WaitLog_research|log_research]] | *[[Send_WaitLog_research|log_research]] | ||
*[[Send_WaitMake_from_template|make_from_template]] | *[[Send_WaitMake_from_template|make_from_template]] | ||
| Line 67: | Line 75: | ||
|} | |} | ||
| − | {| width= | + | {| width="100%" |
|- | |- | ||
| − | ! colspan=3|''' | + | ! colspan=3|'''<font size="3">Base object CHG</font>''' |
|- | |- | ||
| − | | width= | + | | width="34%" align="left" style="vertical-align:top;" | |
*[[Send_WaitAccumulate|accumulate]] | *[[Send_WaitAccumulate|accumulate]] | ||
*[[Send_WaitAccumulate_change|accumulate_change]] | *[[Send_WaitAccumulate_change|accumulate_change]] | ||
| Line 82: | Line 90: | ||
*[[Send_WaitClose_change_request|close_change_request]] | *[[Send_WaitClose_change_request|close_change_request]] | ||
| − | | width= | + | | width="33%" align="left" style="vertical-align:top;" | |
*[[Send_WaitCopy_chg|copy_chg]] | *[[Send_WaitCopy_chg|copy_chg]] | ||
*[[Send_WaitCopy_chg_site|copy_chg_site]] | *[[Send_WaitCopy_chg_site|copy_chg_site]] | ||
| Line 91: | Line 99: | ||
*[[Send_WaitImpact_analysis|impact_analysis]] | *[[Send_WaitImpact_analysis|impact_analysis]] | ||
| − | | width= | + | | width="33%" align="left" style="vertical-align:top;" | |
*[[Send_WaitInit_activity|init_activity]] | *[[Send_WaitInit_activity|init_activity]] | ||
*[[Send_WaitInit_change_request|init_change_request]] | *[[Send_WaitInit_change_request|init_change_request]] | ||
Revision as of 03:16, 24 November 2010
To make corrections or additions to this article, select the edit tab above.
To discuss or ask questions about this article, select the discussion tab above.
To discuss or ask questions about this article, select the discussion tab above.
Overview
This is the most tricky function and it is the main reason of difficulty of reading SPELL code. It is used for calling methods on objects. On every SD object (ie. cr, chg, alg...) are defined methods and using send_wait function you can call them. Definitions of some of them are in *.maj files in $NX_ROOT/bopcfg/majic folder.
Usage
void send_wait (int timeout, object top_object, string method, [ var parameters… ])
- timeout - how long (in seconds) should the method wait for finishing the method (0 means infinite). A timeout mean time after which the function is considering as failure, returning to caller with error and no result. Nearly every time the 0 is used.
- top_object - root object for the method (on which the method is called)
- method - name of the called method
- parameters - variable number of parameters based on the called method
Results
Function doesn't return value, but methods usually fill global msg array with return values. What values are on what positions depends on the called method.
Available methods
| <font size="3">Base object common</font> | ||
|---|---|---|
| These methods are defined on all objects (maybe) | ||
| <font size="3">Base object CR</font> | ||
|---|---|---|
| <font size="3">Base object CHG</font> | ||
|---|---|---|