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