TIBCO Adapter SDK C++ Reference
MOperationRequest Methods
MOperationRequest | Legend
Methods
Method Description
asyncInvoke This method invokes the remote operation and registers an asynchronous listener to process the reply.
clone This method returns a copy owned by the caller. Use this method to make a copy of the object for use after the callback is returned.
confirm Confirm a request explicitly for servers using persistent messaging. This should only be used after enabling explicit confirmation by calling MOperationImpl::noAutoConfirm().
downCast Ssafe cast operation for MOperationRequest objects. See MComponent::downCast() for a detailed explanation and example.
downCast Ssafe cast operation for MOperationRequest objects. See MComponent::downCast() for a detailed explanation and example.
get Return the value of the specified attribute.
getClassName Return the char* “MOperationRequest” if called for an instance of MOperationRequest.
getClosure Retrieve the closure data from the request. The closure data, which can be set with MOperationRequest::setClosure(), is sent to the server, which copies it into the reply.
getInstanceImpl  
getReply Return the MOperationReply associated with the operation to which this MOperationRequest belongs.

The following exceptions are thrown if this method does not succeed.

• M_ERROR_OPERATION_TIMEOUT

• M_ERROR_OPERATION_BADREPLY

• M_ERROR_OPERATION_IMPL_ERROR

getTrackingInfo Retrieve the tracking data from the MOperationRequest object.
isNullData Determine whether this attribute was explicitly set to NULL.

See also "Setting Data to NULL Explicitly" in TIBCO Adapter SDK Programmer's Guide.

makeUserOwned Deprecated.

New applications should use MOperationRequest::clone()

MOperationRequest Construct an MOperationRequest request using the specified MOperationDescription instance.
MOperationRequest  
MOperationRequest Construct an MOperationRequest object using the specified operation name and operation class name.
MOperationRequest  
onewayInvoke Invoke a remote operation but does not expect a reply.
set Set the value for the specified attribute name to this operation request.
set Set the value for the specified attribute name to this operation request.
setClosure Set closure data for the request. The closure data is sent to the server, which copies it back to the reply. The reply listener can further retrieve it.
setNullData Explicitly set the attribute value to NULL.

See also "Setting Data to NULL Explicitly" in TIBCO Adapter SDK Programme's Guide.

setTrackingInfo Forward the tracking data to this operation requests.
syncInvoke This method synchronously invokes a remote operation. When this method returns, the reply is available through the MOperationRequest::getReply() call.
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.