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 AddSenderInfo 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 AddSenderInfo(String destId, SenderInfo si, int index) { 00034 super(destId); 00035 this.si = si; 00036 this.index = index; 00037 } 00038 00039 public AddSenderInfo(String destId, SenderInfo si) { 00040 this(destId,si,-1); 00041 } 00042 00043 public String toString() { 00044 return "AddSenderInfo (destId=" + getDestId() + 00045 ", index=" + index + ", si=" + si + ")"; 00046 } 00047 }
1.5.0