reSIProcate/stack  9694
Register.hxx
Go to the documentation of this file.
00001 #ifndef Register_hxx
00002 #define Register_hxx
00003 
00004 #include "resip/stack/Uri.hxx"
00005 
00006 namespace Loadgen
00007 {
00008 
00009 class Transceiver;
00010 
00011 
00012 class Register
00013 {
00014    public:
00015       Register(Transceiver& tranceiver, const resip::Uri& registrand, 
00016                int firstExtension, int lastExtension, 
00017                int numRegistrations = 0);
00018       
00019       void go();
00020    private:
00021       Transceiver& mTransceiver;
00022       resip::Uri mRegistrand;
00023       int mFirstExtension;
00024       int mLastExtension;
00025       int mNumRegistrations;
00026 };
00027 
00028 
00029 
00030 }
00031 
00032 
00033 
00034 #endif
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  * This software consists of voluntary contributions made by Vovida
00080  * Networks, Inc. and many individuals on behalf of Vovida Networks,
00081  * Inc.  For more information on Vovida Networks, Inc., please see
00082  * <http://www.vovida.org/>.
00083  *
00084  */