Method and system for providing version control of parameters in a command-based API using Java serialization
First Claim
1. A method for providing a command from a client-side host to a server-side host, comprising:
- invoking a client-side API at the client-side host to pass in a set of parameter objects, and to provide a command object that contains the parameter objects;
wherein each of the parameter objects represents a different parameter of a command;
serializing the command and parameter objects to provide serialized command and parameter objects; and
communicating the serialized command and parameter objects to the server-side host as the command.
1 Assignment
0 Petitions
Accused Products
Abstract
A technique for determining whether a server host supports the functions in a command sent by a client host. The client host formulates a command including a command object that contains parameter objects. The parameter objects, which represent the functions, are serialized, e.g., using the Java serialization command, and communicated to the server host. The server host attempts to deserialize the parameter objects. If it is successful, it is concluded that the server host supports the functions represented by the parameter objects. Or, it is concluded that the server host is incompatible with the functions represented by one or more parameter objects that cannot be deserialized. The server host may be a storage server, and the functions may be storage-related, such as a copy type to be performed.
-
Citations
18 Claims
-
1. A method for providing a command from a client-side host to a server-side host, comprising:
-
invoking a client-side API at the client-side host to pass in a set of parameter objects, and to provide a command object that contains the parameter objects;
wherein each of the parameter objects represents a different parameter of a command;
serializing the command and parameter objects to provide serialized command and parameter objects; and
communicating the serialized command and parameter objects to the server-side host as the command. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method for processing a command from a client-side host at a server-side host, comprising:
-
receiving serialized command and parameter objects at the server-side host as a command from the client-side host;
wherein the command object contains the parameter objects, and each of the parameter objects represents a different parameter of the command; and
deserializing the serialized command and parameter objects to determine whether the server-side host is compatible with the different parameters represented by the parameter objects. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A program storage device, tangibly embodying a program of instructions executable by a server-side host to perform a method for processing a command from a client-side host, the method comprising:
-
receiving serialized command and parameter objects at the server-side host as a command from the client-side host;
wherein the command object contains the parameter objects, and each of the parameter objects represents a different parameter of the command; and
deserializing the serialized command and parameter objects to determine whether the server-side host is compatible with the different parameters represented by the parameter objects. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification