avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hamm...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/callback CallBackTestClient.java CallBackTestServer.java
Date Mon, 08 Apr 2002 20:23:54 GMT
hammant     02/04/08 13:23:54

  Modified:    altrmi/src/test/org/apache/excalibur/altrmi/test/callback
                        CallBackTestClient.java CallBackTestServer.java
  Log:
  bug fixes to callback test - lookup name changed..
  
  Revision  Changes    Path
  1.2       +1 -1      jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/callback/CallBackTestClient.java
  
  Index: CallBackTestClient.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/callback/CallBackTestClient.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CallBackTestClient.java	6 Apr 2002 09:59:59 -0000	1.1
  +++ CallBackTestClient.java	8 Apr 2002 20:23:54 -0000	1.2
  @@ -60,7 +60,7 @@
               System.out.println("..[" + i + "]:" + listOfPublishedObjectsOnServer[i]);
           }
   
  -        CallBackTest callbacktest = (CallBackTest) af.lookup("EventServer");
  +        CallBackTest callbacktest = (CallBackTest) af.lookup("CallbackTest");
   
           // Nothing from here on down is aware of AltRMI bridging two VMs.....
   
  
  
  
  1.2       +3 -8      jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/callback/CallBackTestServer.java
  
  Index: CallBackTestServer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/callback/CallBackTestServer.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CallBackTestServer.java	6 Apr 2002 09:59:59 -0000	1.1
  +++ CallBackTestServer.java	8 Apr 2002 20:23:54 -0000	1.2
  @@ -37,20 +37,15 @@
        */
       public static void main(String[] args) throws Exception {
   
  -        System.out.println("Stream over Socket Server");
  +        System.out.println("CallbackTest Server");
   
  -        AbstractServer as;
  -
  -       
  -        // CustomStream
  -        System.out.println("(Custom Stream)");
  -		as = new CompleteSocketCustomStreamServer(1235);
  +        AbstractServer as = new CompleteSocketCustomStreamServer(1235);
           
   
           as.setClassRetriever(new JarFileClassRetriever("build/classes2"));
           //CallBackTest
           CallBackTestImpl callBackTest = new CallBackTestImpl();
  -        as.publish(callBackTest, "EventServer", CallBackTest.class);
  +        as.publish(callBackTest, "CallbackTest", CallBackTest.class);
   		//start
           as.start();
   		Thread thread =  new Thread(new FireMan(callBackTest));
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message