Server Smalltalk Guide : CORBA IIOP support : Invoking methods using IIOP : Helper methods for creating application contexts
Helper methods for creating application contexts
Instead of hand-constructing application contexts for use with IIOP, you an use one of the helper class methods in SstApplicationContext shown below. The methods must be sent startUp before they can be used.
createIiopContextNamed: contextName at: location idlRepository: repository cache: cache
Answers an instance of the receiver for IIOP-based communications named @contextName. The context is located at @location, if you want to specify the host:port on which messages will be serviced. You specify the third-party IDL repository IOR in @repository as a file name, an IOR string, or an HTTP URL. And the initial repository cache resides in @cache.
createIiopContextNamed: contextName cache: cache
Answers an instance of the receiver for IIOP-based communications named @contextName. You specify the third-party IDL repository IOR in @repository as a file name, an IOR string, or an HTTP URL. The initial repository cache resides in @cache. The answer is established at the default URL @'iiop://', which allocates an available port automatically.
Last modified date: 01/29/2015