Patent ID: 9026567
Filing Date: 2015-05-05
Classification: G06F,H04L

Abstract:
1. A method in a computer system for publish-subscribe comprising: receiving from a publisher application a first invocation of a file open function in a file system application programming interface in the computer system including a name for a publish-subscribe file; preparing to publish an object associated with the publish-subscribe file in response to the first invocation of the file open function executed by a file system; receiving from the publisher application one or more invocations of a file write function in the file system application programming interface in the computer system; adding, modifying or deleting one or more attributes contained in the publish-subscribe file by a processor of the computer system through the file system in response to data elements included in each file write invocation; receiving from a subscriber application a second invocation of the file open function in the file system application programming interface in the computer system including the name for the publish-subscribe file; and subscribing by the subscriber application to the publish-subscribe file in response to the second invocation of the file open function executed by the file system; sending a notification to the subscriber application responsive to receiving, from the publisher application, any of the one or more invocations of the file write function; receiving from the subscriber application one or more invocations of a file read function including an identifier of the publish-subscribe file in the file system application programming interface in the computer system; and returning, by the processor in response to arguments included in each file read invocation executed by the file system, either all of the attributes contained in the publish-subscribe file, or one or more attributes contained in the publish-subscribe file that have changed since a previous invocation of the file read function; where each of the one or more invocations of the file read function by the subscriber application is further responsive to the sending of the notification.