ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/CorbaClientListenerServant.java
(Generate patch)

Comparing projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/CorbaClientListenerServant.java (file contents):
Revision 1.5 by tdb, Wed Feb 21 19:11:28 2001 UTC vs.
Revision 1.7 by tdb, Tue Mar 13 18:37:08 2001 UTC

# Line 33 | Line 33 | class CorbaClientListenerServant extends CorbaClientLi
33       * Creates a new CorbaClientListenerServant.
34       *
35       * @param packetSorter a reference to the PacketSorter object being used
36     * @param queueMonitorInterval the interval at which to monitor the Queue
36       */
37 <    public CorbaClientListenerServant(PacketSorter packetSorter, int queueMonitorInterval) {
37 >    public CorbaClientListenerServant(PacketSorter packetSorter) {
38          _packetSorter = packetSorter;
40        _queueMonitorInterval = queueMonitorInterval;
39          _logger.write(toString(), Logger.SYSINIT, "created");
40      }
41      
# Line 47 | Line 45 | class CorbaClientListenerServant extends CorbaClientLi
45       * Allows a CORBA client to connect to the server.
46       *
47       * @param client a reference to the "servant" part of the connecting client.
48 +     * @param name a name to identify the client.
49       * @return a CorbaControlHandler reference.
50       */
51 <    public CorbaControlHandler connect(Client client) {
52 <        CorbaControlHandlerServant cchServant = new CorbaControlHandlerServant(_packetSorter, client, _queueMonitorInterval);
51 >    public CorbaControlHandler connect(Client client, String name) {
52 >        CorbaControlHandlerServant cchServant = new CorbaControlHandlerServant(_packetSorter, client, name);
53          org.omg.CORBA.Object objRef;
54          try {
55              objRef = _refman.getRootPOA().servant_to_reference(cchServant);
# Line 110 | Line 109 | class CorbaClientListenerServant extends CorbaClientLi
109       * A reference to the PacketSorter.
110       */
111      private PacketSorter _packetSorter;
113    
114    /**
115     * The interval at which to monitor Queues.
116     */
117    private int _queueMonitorInterval;
112      
113   //---STATIC ATTRIBUTES---
114  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines