| \n |
| Microsoft Invisible Computing |
Encapsulates a method call. The object represents a method call, either local or remote, on client or server that is running, future, or completed.
C type for interface pointer:
Extends IHeap
Implemented by CContinuation
Methods: Wait Complete SetBuffer SetMethod Execute SendMessage
Block waiting for this continuation to complete.
Notify that continuation has completed.
Consumes reference on this (does internal Release).
Provide a memory buffer for continuation tmp heap.
Prepare for activation.
Run continuation locally.
Create and send message as appropriate: 1) local calls, do nothing; 2) client, send request; 3) RPC server, send reply; 4) one-way server, do nothing.
Block waiting for this continuation to complete.
SCODE Wait(
/*in,this*/ PICONTINUATION iThis)
SCODE IContinuation::Wait( void )
Notify that continuation has completed.
Consumes reference on this (does internal Release).
SCODE Complete(
/*in,this*/ PICONTINUATION iThis)
SCODE IContinuation::Complete( void )
Provide a memory buffer for continuation tmp heap.
SCODE SetBuffer(
/*in,this*/ PICONTINUATION iThis,
/*in*/ PTR Where,
/*in*/ UINT sizeis)
The address of the memory.
The size of the buffer.
SCODE IContinuation::SetBuffer(
/*in*/ PTR Where,
/*in*/ UINT sizeis)
Prepare for activation.
SCODE SetMethod(
/*in,this*/ PICONTINUATION iThis,
/*in*/ CPXMLNAMESPACE Xns,
/*in*/ const void * metd,
/*in,optional*/ const _TCHAR * objname,
/*in,optional*/ PIUNKNOWN pObj)
Namespace of method.
Descriptor for method (CPMETHOD_DESCR).
Path of object in system namespace.
The object to be called. One and only one of objname and pObj should be present.
SCODE IContinuation::SetMethod(
/*in*/ CPXMLNAMESPACE Xns,
/*in*/ const void * metd,
/*in,optional*/ const _TCHAR * objname,
/*in,optional*/ PIUNKNOWN pObj)
Run continuation locally.
SCODE Execute(
/*in,this*/ PICONTINUATION iThis,
/*in*/ BOOL sync,
/*in,optional*/ void* pRes)
TRUE: Execute synchronously using current thread. FALSE: Execute asynchronously using another thread.
Reservation to use. When NULL a suitable reservation will be searched for.
SCODE IContinuation::Execute(
/*in*/ BOOL sync,
/*in,optional*/ void* pRes)
Create and send message as appropriate: 1) local calls, do nothing; 2) client, send request; 3) RPC server, send reply; 4) one-way server, do nothing.
SCODE SendMessage(
/*in,this*/ PICONTINUATION iThis,
/*in,optional*/ PIHTTPCONNECTOR pConn,
/*in,optional*/ PCode pFaultCode,
/*in,optional*/ const _TCHAR * FaultString)
Connector where to send the message or NULL.
Optional FaultCode (soap:Code). When given, a fault is sent in lieue of the regular response message. On the client this parameter is ignored.
Optional text that goes along with pFaultCode.
SCODE IContinuation::SendMessage(
/*in,optional*/ PIHTTPCONNECTOR pConn,
/*in,optional*/ PCode pFaultCode,
/*in,optional*/ const _TCHAR * FaultString)
| ©2006 Microsoft Corporation. All rights reserved. | Terms of Use | Privacy Statement | Accessibility | End User License Agreement |