HomeDigital EditionSys-Con RadioSearch Java Cd
Advanced Java AWT Book Reviews/Excerpts Client Server Corba Editorials Embedded Java Enterprise Java IDE's Industry Watch Integration Interviews Java Applet Java & Databases Java & Web Services Java Fundamentals Java Native Interface Java Servlets Java Beans J2ME Libraries .NET Object Orientation Observations/IMHO Product Reviews Scalability & Performance Security Server Side Source Code Straight Talking Swing Threads Using Java with others Wireless XML
 

"The Java-CORBA Way to Large-Scale Software Design"
Volume: 4 Issue: 8, p. 8

	

Listing 1: 

(see source code file SBroker.java for details): 
public class SBroker { 
   public monitor getMonitor() { 
   } 
   monitor init() { 
   } 
   public static void main( String[] args ) { 
   } 
   static void out(String msg) { 
   } 
} 
  
Listing 2:  

(see source code file monitorImpl.java for details): 
public class monitorImpl extends Thread implements monitor { 
    monitorImpl() { 
    } 
    public sbroker.listener getApp(int id) { 
    } 
    public int getAppID(sbroker.listener rbListener) { 
    } 
    boolean getEventProcessed(sbroker.event evt) { 
    } 
    public boolean notifyRadioBroadcastListeners(sbroker.event rbEvent) { 
    } 
    public boolean addRadioBroadcastListener(sbroker.listener rbListener) { 
    } 
    public boolean removeRadioBroadcastListener(sbroker.listener rbListener) { 
    } 
    private void out(String msg) { 
    } 
    public void run() { 
    } 
} 
  
Listing 3:   

(see source code file RbListener.java for details): 
class RbListener extends Thread implements RadioBroadcastListener { 
     public RbListener() { 
     } 
     public int getAppID() { 
     } 
     public void broadcastPerformed(sbroker.event rbEvent) { 
     } 
     public static void main(String argv[]) { 
     } 
     public void run() { 
          while(true) {}; 
     } 
} 
  
Listing 4: 

(see source code file RadioBroadcastListener.java and sbroker.listener.java for details): 
 public interface listener extends org.omg.CORBA.CORBject { 
    void broadcastPerformed(sbroker.event rbEvent); 
} 
  
Listing 5: 

(see source code file RbEvent.java for details): 
public class RbEvent extends java.util.EventObject implements java.io.Serializable,
 sbroker.event { 
    public RbEvent(String eventID) { 
    } 
    public String getEventID() { 
    } 
    public void setEventType(String evt) { 
    } 
    public String getEventType() { 
        return eventType; 
    } 
    public String getDataRetrieveMethod() { 
    } 
    public String getDataStoreMethod() { 
    } 
} 

  

 

All Rights Reserved
Copyright ©  2004 SYS-CON Media, Inc.
  E-mail: [email protected]

Java and Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. SYS-CON Publications, Inc. is independent of Sun Microsystems, Inc.