reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
WorkerThread.hxx
Go to the documentation of this file.
1
#ifndef WORKER_THREAD_HXX
2
#define WORKER_THREAD_HXX 1
3
4
#include "
rutil/ThreadIf.hxx
"
5
#include "
resip/stack/Worker.hxx
"
6
#include "
rutil/TimeLimitFifo.hxx
"
7
#include "
resip/stack/ApplicationMessage.hxx
"
8
9
namespace
resip
10
{
11
class
SipStack;
12
13
class
WorkerThread
:
public
resip::ThreadIf
14
{
15
16
public
:
17
WorkerThread
(
Worker
* impl,
resip::TimeLimitFifo<resip::ApplicationMessage>
& fifo,
resip::SipStack
* stack);
18
virtual
~WorkerThread
();
19
void
thread
();
20
21
protected
:
22
Worker
*
mWorker
;
23
resip::TimeLimitFifo<resip::ApplicationMessage>
&
mFifo
;
24
resip::SipStack
*
mStack
;
25
26
};
27
}
28
29
#endif
30
31
/* ====================================================================
32
* The Vovida Software License, Version 1.0
33
*
34
* Copyright (c) 2000 Vovida Networks, Inc. All rights reserved.
35
*
36
* Redistribution and use in source and binary forms, with or without
37
* modification, are permitted provided that the following conditions
38
* are met:
39
*
40
* 1. Redistributions of source code must retain the above copyright
41
* notice, this list of conditions and the following disclaimer.
42
*
43
* 2. Redistributions in binary form must reproduce the above copyright
44
* notice, this list of conditions and the following disclaimer in
45
* the documentation and/or other materials provided with the
46
* distribution.
47
*
48
* 3. The names "VOCAL", "Vovida Open Communication Application Library",
49
* and "Vovida Open Communication Application Library (VOCAL)" must
50
* not be used to endorse or promote products derived from this
51
* software without prior written permission. For written
52
* permission, please contact vocal@vovida.org.
53
*
54
* 4. Products derived from this software may not be called "VOCAL", nor
55
* may "VOCAL" appear in their name, without prior written
56
* permission of Vovida Networks, Inc.
57
*
58
* THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
59
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
60
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
61
* NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL VOVIDA
62
* NETWORKS, INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT DAMAGES
63
* IN EXCESS OF $1,000, NOR FOR ANY INDIRECT, INCIDENTAL, SPECIAL,
64
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
65
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
66
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
67
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
68
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
69
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
70
* DAMAGE.
71
*
72
* ====================================================================
73
*
74
* This software consists of voluntary contributions made by Vovida
75
* Networks, Inc. and many individuals on behalf of Vovida Networks,
76
* Inc. For more information on Vovida Networks, Inc., please see
77
* <http://www.vovida.org/>.
78
*
79
*/
ApplicationMessage.hxx
ThreadIf.hxx
TimeLimitFifo.hxx
Worker.hxx
resip::SipStack
This is the primary point of interaction between the app-layer and the stack.
Definition
SipStack.hxx:160
resip::ThreadIf
A wrapper class to create and spawn a thread.
Definition
ThreadIf.hxx:54
resip::TimeLimitFifo
Definition
TimeLimitFifo.hxx:92
resip::WorkerThread
Definition
WorkerThread.hxx:14
resip::WorkerThread::~WorkerThread
virtual ~WorkerThread()
Definition
WorkerThread.cxx:20
resip::WorkerThread::mWorker
Worker * mWorker
Definition
WorkerThread.hxx:22
resip::WorkerThread::mFifo
resip::TimeLimitFifo< resip::ApplicationMessage > & mFifo
Definition
WorkerThread.hxx:23
resip::WorkerThread::thread
void thread()
Definition
WorkerThread.cxx:28
resip::WorkerThread::mStack
resip::SipStack * mStack
Definition
WorkerThread.hxx:24
resip::Worker
Definition
Worker.hxx:11
resip
dcm! – add UnusedChecking(_enum) below;
Definition
AbstractFifo.hxx:16
resip
stack
WorkerThread.hxx
Generated by
1.9.8