System, method and article of manufacture for type checking appropriateness of port connection and variable type matching in connection with multiport object-oriented components
First Claim
1. A method of validating connections between ports of object-oriented components, each component having input, output and/or bidirectional ports adapted to accept or transmit variable information, the components being used in association with an object-oriented applet or application, said method comprising the steps of:
- a) storing information concerning the type of each port and the type of variable expected to be passed to or by each port;
b) polling all ports to ascertain if a connection has been initiated at one of the ports;
c) identifying the type of port for which a connection has been initiated and, when the information is available, the type of variable to appear at that port;
d) updating the stored information concerning the port and variable for which a connection has been initiated;
e) comparing the stored port and variable type information once the initiated connection has been completed to determine if the connected ports comprise a permitted connection and if the type for the variable to be transmitted over the completed connection is compatible with either or both of the ports involved; and
f) preventing the connection from being made if either the port or variable types are incompatible.
2 Assignments
0 Petitions
Accused Products
Abstract
Method, system and article of manufacture for connecting multiport object oriented components for use in an object oriented based applet or application. The component'"'"'s ports are all polled to determine if a connection to any one of them has been initiated or ended. Port and variable information is stored and updated as connections are made or broken. If a connection is made, the type and suitability of the ports involved is checked as is the type and suitability of the variable they are to respectively transmit or accept. If the ports and/or the variable are mismatched, the intended connection is prevented and an error message to that effect is posted. If the ports and/or the variable are suitable, the intended connection is permitted and the stored port and variable information updated accordingly.
-
Citations
20 Claims
-
1. A method of validating connections between ports of object-oriented components, each component having input, output and/or bidirectional ports adapted to accept or transmit variable information, the components being used in association with an object-oriented applet or application, said method comprising the steps of:
-
a) storing information concerning the type of each port and the type of variable expected to be passed to or by each port; b) polling all ports to ascertain if a connection has been initiated at one of the ports; c) identifying the type of port for which a connection has been initiated and, when the information is available, the type of variable to appear at that port; d) updating the stored information concerning the port and variable for which a connection has been initiated; e) comparing the stored port and variable type information once the initiated connection has been completed to determine if the connected ports comprise a permitted connection and if the type for the variable to be transmitted over the completed connection is compatible with either or both of the ports involved; and f) preventing the connection from being made if either the port or variable types are incompatible. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system for creating an object-oriented component having multiple bidirectional ports, the component being used in association with an object-oriented applet or application said system comprising:
-
a) an information storage system that records the type of each port and the type of variable expected to be passed to or by each port; b) communication polling system which detects when a connection has been initiated at one of the ports; c) a type verification system which determines the type of port for which a connection has been initiated and, when the information is available, the type of variable to appear at that port; d) a storage updating system which updates the stored information concerning the port and variable for which a connection has been initiated; e) the type verification system including a subsystem that verifies stored port and variable type information once the initiated connection has been completed to determine if the connected ports comprise a permitted connection and if the type for the variable to be transmitted over the completed connection is compatible with either or both of the ports involved; and f) an error indicia system that prevents the connection from being made if either the port or variable are incompatible. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A computer program embodied on a computer-readable medium for validating connections between ports of object-oriented components, each component having input, output and/or bidirectional ports adapted to accept or transmit variable information, the components being used in association with an object-oriented applet or application, said embodied program comprising:
-
a) first software that stores information concerning the type of each port and the type of variable expected to be passed to or by each port; b) second software that polls all ports to ascertain if a connection has been initiated at one of the ports; c) third software that identifies the type of port for which a connection has been initiated and, when the information is available, the type of variable to appear at that port; d) fourth software that updates the stored information concerning the port and variable for which a connection has been initiated; e) fifth software that compares the stored port and variable type information once the initiated connection has been completed to determine if the connected ports comprise a permitted connection and if the type for the variable to be transmitted over the completed connection is compatible with either or both of the ports involved; and f) sixth software that prevents the connection from being made if either the port or variable types are incompatible. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification