classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] FYI: Implementing Sun-like listening and request handling s


From: Meskauskas Audrius
Subject: [cp-patches] FYI: Implementing Sun-like listening and request handling style for CORBA ORB.
Date: Wed, 25 May 2005 12:46:44 +0200

The current Classpath CORBA server listens on one port for remote calls for
all connected objects. It can only process one invocation at time.

The Suns implementation gives a separate port for each object and handles
the received requests in parallel threads. This patch contains the implementation
of the Sun-like behaviour. If some objects are disconnected from the server,
the freed ports can be reused for the subsequently connected objects.

As a side effect of this implementation, it is possible to write a tests for
handling parallel submissions on a client side. Previously it was difficult
to test this because the server was resticted to processing just one invocation
at time.

2005-05-24  Audrius Meskauskas  <address@hidden>

* gnu/CORBA/Connected_objects.java (cObject, getKey, add, get,
entrySet, remove),
* gnu/CORBA/Functional_ORB.java (portServer, getFreePort, connect,
startService, destroy, disconnect, object_to_string, run, shutdown, find_connected_object, createIOR, finalize): Implemented listening on different ports for different objects.

Attachment: distributed.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]