DiameterDPR.java

Go to the documentation of this file.
00001 /*
00002  * $Id: DiameterDPR.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.data;
00032 
00039 public class DiameterDPR extends DiameterMessage {
00040 
00041     public AVP origin_host;
00042     public AVP origin_realm;
00043     public AVP disconnect_cause;
00044     
00045     public DiameterDPR()
00046     {
00047         super(DiameterMessage.Code_DP,true,0);
00048         AVP avp;
00049                 
00050         /* Origin-Host */
00051         avp = new AVP(AVP.Origin_Host,true,0);
00052         this.addAVP(avp);
00053         this.origin_host = avp;
00054         
00055         /* Origin-Realm */
00056         avp = new AVP(AVP.Origin_Realm,true,0);
00057         this.addAVP(avp);
00058         this.origin_realm = avp;
00059 
00060         /* Disconnect-Cause */
00061         avp = new AVP(AVP.Disconnect_Cause,true,0);
00062         this.addAVP(avp);
00063         this.disconnect_cause = avp;
00064         
00065     }
00066     
00067 }

Generated on Thu Oct 23 04:07:36 2008 for Open IMS Core JavaDiameterPeer by  doxygen 1.5.2