com/scalagent/joram/mom/dest/mail/RemoveSenderInfo.java

00001 /*
00002  * JORAM: Java(TM) Open Reliable Asynchronous Messaging
00003  * Copyright (C) 2003 - 2007 ScalAgent Distributed Technologies
00004  *
00005  * This library is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU Lesser General Public
00007  * License as published by the Free Software Foundation; either
00008  * version 2.1 of the License, or any later version.
00009  * 
00010  * This library is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  * Lesser General Public License for more details.
00014  * 
00015  * You should have received a copy of the GNU Lesser General Public
00016  * License along with this library; if not, write to the Free Software
00017  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
00018  * USA.
00019  *
00020  * Initial developer(s): Nicolas Tachker (ScalAgent)
00021  * Contributor(s): 
00022  */
00023 package com.scalagent.joram.mom.dest.mail;
00024 
00025 public class RemoveSenderInfo extends org.objectweb.joram.shared.admin.SpecialAdmin {
00029   private static final long serialVersionUID = 1L;
00030   public SenderInfo si = null;
00031   public int index = -1;
00032   
00033   public RemoveSenderInfo(String destId, SenderInfo si) {
00034     super(destId);
00035     this.si = si;
00036   }
00037   
00038   public RemoveSenderInfo(String destId, int index) {
00039     super(destId);
00040     this.index = index;
00041   }
00042   
00043   public String toString() {
00044     return "RemoveSenderInfo (destId=" + getDestId() + 
00045       ", index=" + index + ", si=" + si + ")";
00046   }
00047 }

Generated on Tue Sep 16 16:14:23 2008 for joram by  doxygen 1.5.0