Method of communicating between agent objects in a computer network
First Claim
1. A method of communicating between agent objects in a computer network, comprising steps of:
- requesting an encounter with a first agent at a current position from a second agent;
determining whether the first agent is available to meet with the second agent;
creating an encounter object in response to the availability of the first agent to meet with the second agent, the encounter object binding the first agent with the second agent to initiate the encounter.
7 Assignments
0 Petitions
Accused Products
Abstract
In a computer network (100), a first agent (102) has a directive to meet with a second agent (140) in order to exchange high speed messages. The first agent (102) moves to the host address and port number where the second agent (140) is located. The first agent (102) issues a request to the second agent (140) for an encounter. If available, the second agent (140) creates an encounter object (142) that binds the first agent (102) to the second agent (140) for the duration of the encounter. The first agent (102), through an invoker (144), invokes a meet callback function in order to establish message exchanges between the first agent (102) and the second agent (140) through the encounter object (142). The first agent (102) then instructs the second agent (140) to terminate the encounter. Termination of the encounter frees up the encounter object (142) for subsequent use within the computer network (100).
-
Citations
13 Claims
-
1. A method of communicating between agent objects in a computer network, comprising steps of:
-
requesting an encounter with a first agent at a current position from a second agent;
determining whether the first agent is available to meet with the second agent;
creating an encounter object in response to the availability of the first agent to meet with the second agent, the encounter object binding the first agent with the second agent to initiate the encounter. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
moving the second agent to the current position where the first agent exists.
-
-
5. The method of claim 4, further comprising a step of:
including an encounter request callback within the second agent to be executed upon completion of the move to the current position.
-
6. The method of claim 1, further comprising a step of:
exchanging information between the first agent and the second agent through the encounter object.
-
7. The method of claim 6, wherein the information exchanged is high speed local Java messages.
-
8. The method of claim 1, further comprising steps of:
-
determining that the first agent is not available to meet as a result of a move operation on the first object to a new position;
identifying a virtual reference to the first agent;
moving the second agent to the new position of the first agent in response to the virtual reference;
establishing the encounter upon the second agent reaching the position of the first agent.
-
-
9. The method of claim 8, further comprising a step of:
establishing the encounter between the first agent and the second agent at the current position upon failure of the move operation to the new position.
-
10. The method of claim 1, wherein the requesting an encounter step includes locating the current position of the first agent and moving the second agent to the current position.
-
11. The method of claim 1, further comprising a step of:
terminating the encounter with the first agent.
-
12. The method of claim 11, wherein the terminating the encounter step is performed by requesting a new encounter with another agent from the second agent.
-
13. The method of claim 1, wherein the current position of the first agent is identified by a host address and a port number.
Specification