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