reSIProcate/repro  9694
QValueTarget.hxx
Go to the documentation of this file.
00001 #ifndef Q_VALUE_TARGET_HXX
00002 #define Q_VALUE_TARGET_HXX 1
00003 
00004 #include "repro/Target.hxx"
00005 
00006 #include "resip/stack/Uri.hxx"
00007 #include "resip/stack/NameAddr.hxx"
00008 
00009 namespace repro
00010 {
00011 
00012 class QValueTarget : public Target
00013 {
00014    public:
00015       QValueTarget(const resip::Uri& target);
00016       QValueTarget(const resip::NameAddr& target);
00017       QValueTarget(const resip::ContactInstanceRecord& rec);
00018       
00019       virtual ~QValueTarget();
00020       
00021       virtual QValueTarget* clone() const;
00022 
00023    private:
00024       void storePriorityMetric();
00025 };
00026 }
00027 #endif
00028 
00029 /* ====================================================================
00030  * The Vovida Software License, Version 1.0 
00031  * 
00032  * Copyright (c) 2000 Vovida Networks, Inc.  All rights reserved.
00033  * 
00034  * Redistribution and use in source and binary forms, with or without
00035  * modification, are permitted provided that the following conditions
00036  * are met:
00037  * 
00038  * 1. Redistributions of source code must retain the above copyright
00039  *    notice, this list of conditions and the following disclaimer.
00040  * 
00041  * 2. Redistributions in binary form must reproduce the above copyright
00042  *    notice, this list of conditions and the following disclaimer in
00043  *    the documentation and/or other materials provided with the
00044  *    distribution.
00045  * 
00046  * 3. The names "VOCAL", "Vovida Open Communication Application Library",
00047  *    and "Vovida Open Communication Application Library (VOCAL)" must
00048  *    not be used to endorse or promote products derived from this
00049  *    software without prior written permission. For written
00050  *    permission, please contact vocal@vovida.org.
00051  *
00052  * 4. Products derived from this software may not be called "VOCAL", nor
00053  *    may "VOCAL" appear in their name, without prior written
00054  *    permission of Vovida Networks, Inc.
00055  * 
00056  * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
00057  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
00058  * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
00059  * NON-INFRINGEMENT ARE DISCLAIMED.  IN NO EVENT SHALL VOVIDA
00060  * NETWORKS, INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT DAMAGES
00061  * IN EXCESS OF $1,000, NOR FOR ANY INDIRECT, INCIDENTAL, SPECIAL,
00062  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
00063  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
00064  * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
00065  * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
00066  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
00067  * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
00068  * DAMAGE.
00069  * 
00070  * ====================================================================
00071  */