Progress
ADM 2 Reference
unbindServer (appserver.p)
Unbinds the AppServer by destroying the server side object started by the client.
Parameters:INPUT pcMode AS CHARACTER
Valid values are ‘unconditional’, ‘conditional’, and the empty string. If ‘conditional’, unbinding will only take place if the caller is at the same level as BindSignature. The empty string is recognized, but not currently supported.
Returns: Nothing (procedure).Notes:
- This procedure allows nested calls of procedures that binds and unbinds, but still postpone the unbinding until we are back at the level that did the actual binding.
- The logic in this procedure is dependent of the fact that getAsHandle or bindServer does the actual binding (if AsHandle is ? ) and logs the call level by setBindSignature = program-name(2).
- An external caller will use the following sequence to ensure that all calls are done with one connection:
.
- Internal calls will typically look like this;
.
- Overrides need to do the following:
- Limitations apply as recursive calls and external callers have the same signature, so an unbind might happen too early. (This can probably be fixed by saving the complete stack in BindSignature)
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |