pero        2005/03/25 14:21:55

  Modified:    modules/cluster/src/share/org/apache/catalina/cluster
                        ClusterReceiver.java
  Log:
  add getCatalinaCluster
  add documentation
  
  Revision  Changes    Path
  1.4       +40 -5     
jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/ClusterReceiver.java
  
  Index: ClusterReceiver.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/ClusterReceiver.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ClusterReceiver.java      15 Feb 2005 09:31:45 -0000      1.3
  +++ ClusterReceiver.java      25 Mar 2005 22:21:55 -0000      1.4
  @@ -18,26 +18,61 @@
   
   
   /**
  - * 
  + * Cluster Receiver Interface
    * @author Filip Hanik
    * @author Peter Rossbach
  - * @version 1.1
  - *
  + * @version $Revision$, $Date$
    */
   public interface ClusterReceiver
   {
   
  +    /**
  +     * Start message listing
  +     * @throws java.io.IOException
  +     */
       public void start() throws java.io.IOException;
   
  +    /**
  +     * Stop message listing 
  +     */
       public void stop();
   
  +    /**
  +     * set callback
  +     * @see 
org.apache.catalina.cluster.tcp.SimpleTcpCluster#messageDataReceived(byte[])
  +     * @param cluster
  +     */
       public void setCatalinaCluster(CatalinaCluster cluster);
       
  -    public boolean isWaitForAck();
  -    public void setWaitForAck(boolean isWaitForAck);
  +    /**
  +     * get Callback
  +     * @return
  +     */
  +    public CatalinaCluster getCatalinaCluster();
       
  +    /**
  +     * Send Ack to sender or not
  +     * @return
  +     */
  +    public boolean isSendAck();
  +    
  +    /**
  +     * set ack mode
  +     * @param isSendAck
  +     */
  +    public void setSendAck(boolean isSendAck);
  +    
  +    /**
  +     * get the listing ip interface
  +     * @return
  +     */
       public String getHost();
       
  +    
  +    /**
  +     * get the listing ip port
  +     * @return
  +     */
       public int getPort();
   
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to