Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

COM+ Pipes

The standard marshaling technique under COM was originally designed to hide the details of the RPC mechanism as much as possible. When the client calls a method, the [in] parameters are transferred to the server, and the [out] parameters are returned at the end of the call. In general, the amount of data that is passed over the network via method parameters is not much; the performance of data transfer is not that big an issue. However, if a large amount of data needs to be transferred, the standard transferring mechanism is not adequate. Pipes were introduced in COM+ to facilitate bulk data transfer within a method call.

A COM+ pipe is an ordered sequence of elements of the same type. It supports two methods, Push and Pull. As should be obvious, Push is used to send data to the server and Pull is used to fetch data from the server. The SDK defines a template-like interface definition for the pipe, shown as follows:


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint