00001 /* 00002 * $Id: DiameterTransaction.java 2 2006-11-14 22:37:20Z vingarzan $ 00003 * 00004 * Copyright (C) 2004-2006 FhG Fokus 00005 * 00006 * This file is part of Open IMS Core - an open source IMS CSCFs & HSS 00007 * implementation 00008 * 00009 * Open IMS Core is free software; you can redistribute it and/or modify 00010 * it under the terms of the GNU General Public License as published by 00011 * the Free Software Foundation; either version 2 of the License, or 00012 * (at your option) any later version. 00013 * 00014 * For a license to use the Open IMS Core software under conditions 00015 * other than those described here, or to purchase support for this 00016 * software, please contact Fraunhofer FOKUS by e-mail at the following 00017 * addresses: 00018 * info@open-ims.org 00019 * 00020 * Open IMS Core is distributed in the hope that it will be useful, 00021 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00022 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00023 * GNU General Public License for more details. 00024 * 00025 * You should have received a copy of the GNU General Public License 00026 * along with this program; if not, write to the Free Software 00027 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00028 * 00029 */ 00030 00031 package de.fhg.fokus.diameter.DiameterPeer.transaction; 00032 00033 import de.fhg.fokus.diameter.DiameterPeer.data.DiameterMessage; 00034 00053 public class DiameterTransaction { 00054 00055 long expires=0; 00056 00057 DiameterMessage request=null,answer=null; 00058 TransactionListener tl; 00059 boolean blocking=false; 00060 00070 public DiameterTransaction(DiameterMessage request,TransactionListener tl,boolean blocking) { 00071 super(); 00072 // TODO Auto-generated constructor stub 00073 this.request = request; 00074 this.tl = tl; 00075 this.blocking = blocking; 00076 } 00077 00078 00084 public DiameterTransaction(DiameterMessage request) { 00085 super(); 00086 // TODO Auto-generated constructor stub 00087 this.request = request; 00088 this.tl = null; 00089 } 00090 00091 }
1.5.2