| \n |
| Microsoft Invisible Computing |
This factory interface is implemented by the HTTP or UDP cob and registered in the current namespace upon COB loading. It provides facilities for the construction and destruction of server instances, and should eventually evolve to provide a memory management interface as well. To access it, lookup COB/http.cob in the system namespace and query.
The Main method starts a server that listens to the URL specified.
C type for interface pointer:
Extends IProgram
Implemented by HttpFactory
Methods: CreateServer CreateConnector
Create an instance of SoapConnector that does HTTP. This is useful for HTTP/UDP clients.
SCODE CreateServer(
/*in,this*/ PIWEBPROTOCOLFACTORY iThis,
/*in*/ PINAMESPACE NameSpace,
/*in*/ UINT Flags,
/*out*/ PILISTENER* pServer)
The namespace that will be presented as the HTTP root (/).
PARSE_URL_FLAGS
The newly created server is returned here.
SCODE IWebProtocolFactory::CreateServer(
/*in*/ PINAMESPACE NameSpace,
/*in*/ UINT Flags,
/*out*/ PILISTENER* pServer)
Create an instance of SoapConnector that does HTTP. This is useful for HTTP/UDP clients.
SCODE CreateConnector(
/*in,this*/ PIWEBPROTOCOLFACTORY iThis,
/*in*/ const _TCHAR * ServerURL,
/*in*/ PARSE_URL_FLAGS ExtraFlags,
/*out*/ PIHTTPCONNECTOR* pISoapConnector)
The address of the host (e.g. IP address 123.45.67.89 or name eg. foo.bar.com) where to send the message.
Flags that are not uniquely determinable based on URL alone. Often PARSE_URL_FLAGS_SOAP with "http://"
The newly created connector is returned here.
SCODE IWebProtocolFactory::CreateConnector(
/*in*/ const _TCHAR * ServerURL,
/*in*/ PARSE_URL_FLAGS ExtraFlags,
/*out*/ PIHTTPCONNECTOR* pISoapConnector)
| ©2006 Microsoft Corporation. All rights reserved. | Terms of Use | Privacy Statement | Accessibility | End User License Agreement |