001    /*
002    
003      $Id: DaemonDaemonMessage.java,v 1.2 2003/03/26 16:00:26 culdesac Exp $
004    
005    */
006    
007    package sharpster.common;
008    
009    
010    import sharpster.common.FileCollection;
011    import sharpster.common.ResponseCollection;
012    import java.io.Serializable;
013    
014    /**
015     * Container class for communication between two daemons.
016     *
017     */
018    public class DaemonDaemonMessage implements Serializable {
019    
020        public DaemonDaemonMessage () {
021            commandId = 0;
022            files = null;
023            response = null;
024            user = null;
025            role = null;
026        }
027    
028        public String role;
029    
030        /**
031         * Holds the command
032         */
033        public int commandId;
034    
035        public FileCollection files;
036    
037        public ResponseCollection response;
038    
039        public String user;
040    
041    }