×

Protocol agnostic request response pattern

  • US 7,730,499 B2
  • Filed: 10/21/2004
  • Issued: 06/01/2010
  • Est. Priority Date: 03/27/2001
  • Status: Active Grant
First Claim
Patent Images

1. A method for allowing a computer program to communicate over one of a plurality of protocols, comprising:

  • at a computing system, using one or more processors to execute computer executable instructions, wherein execution of the computer-executable instructions by the one or more processors causes the computing system to;

    register one or more protocol handlers operable to create a protocol object;

    receive a request to communicate;

    create an instance of a protocol object by employing a registered protocol handler;

    return the protocol object to an application; and

    use a base class Application Programming Interface (API) to communicate though the protocol object, wherein using the base class API includes implementing one or more methods defined in the base class API in a derived class, and wherein at least one of the one or more methods can be employed to read a first data from a resource, the first data having at least one of a format specific to the protocol and one or more headers and/or footers specific to the protocol when it is read from the resource, the first data being provided to a computer program of the computing system as a byte stream, and wherein at least one of the one or more methods can be employed to write a second data to the resource, the second data having at least one of a format specific to the protocol and one or more headers and/or footers specific to the protocol when it is written to the resource, the second data being provided to the one or more methods as a byte stream.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×