Progress
ADM 2 Reference
restartServerObject (appserver.p)
When a SmartDataObject is split and running stateless on an AppServer, it is shut down after each use and then restarted for the next. restartServerObject is run on the client to restart the SmartDataObject on the server.
Parameters: NoneReturns: Nothing (procedure)Notes:
- The startServerObject runs on the first connection.
- Both start- and restart- runs runServerObject, which does the actual run and the optional initialize.
- This procedure is considered to be an “internal event” and silently returns if the object is bound, or Appservice = ' ' and does not check if ASHasStarted is true (because this might not be damaging if there is no difference between start/restart). It is assumed to be called only when unbound and ASHasStarted is true, as when called from getAsHandle.
- getASHandle depends on the
“
silent error”
when Appservice is blank for backwards compatibility with data and SBO classes (it actually checked ASDivision="
client"
, but that is too restrictive). So, if errors are added here, make sure getAsHandle deals with (removes) them before returning a "?".
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |