摘要 |
A method is provided for sending a request from a client application on a first computer to a server application on a second computer, and for sending a response from the server application to the client application, both computers having a main memory and a memory mapped network interface. A buffer is provided in the main memory of each computer. The client application provides software stubs which produce a marshalled stream of data representing the request. The client application sends the marshalled stream of data to the server's buffer. The server application unmarshalls the stream of data by providing software stubs which convert the marshalled stream of data into a representation of the request in the server's main memory. The server application processes the request and generates a response. The server application provides software stubs which produce a marshalled stream of data representing the response. The server application sends the marshalled stream of data to the client's buffer. The client application unmarshalls the received stream of data by providing software stubs which convert the received marshalled stream of data into a representation of the response in the client's main memory.
|