Progress
ADM 2 Reference
startServerObject (appserver.p)
Runs on the client to start the Object on the server.
Parameters: None.Returns: Nothing (procedure).Notes:
- restartServerObject will (should) be run the next time the object needs to communicate with its server part.
- Both start- and restart- call runServerObject, which issues the actual run call and does the optional initialization.
- This procedure is considered to be an internal event and returns without complaining if the object is bound or Appservice = ‘ ’. It does not check if ASHasStarted is false, as this may not be damaging if there’s no difference between start and restart. It is assumed to be called only when unbound and ASHasStarted is false as when called from getAsHandle or from initializeObject in objects that need to connect at start up.
- getASHandle depends for backward compatibility with data/sbo classes on the ‘silent error’ when Appservice is blank (not completely true, 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.)
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |