reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
InvokeAfterSocketCreationFunc.hxx
Go to the documentation of this file.
1#ifndef InvokeAfterSocketCreationFunc_Include_Guard
2#define InvokeAfterSocketCreationFunc_Include_Guard
3
6
7namespace resip
8{
10{
11 public:
15
16 virtual const Data& getTransactionId() const {return Data::Empty;}
17 virtual TransportType getTransportType() const { return mTransportType; }
18
19 virtual bool isClientTransaction() const {return true;}
20 virtual EncodeStream& encode(EncodeStream& strm) const
21 {
22 return strm << "InvokeAfterSocketCreationFunc: type=" << mTransportType;
23 }
25 {
26 return strm << "InvokeAfterSocketCreationFunc: type=" << mTransportType;
27 }
28
29 virtual Message* clone() const
30 {
31 resip_assert(false); return NULL;
32 }
33
34 protected:
36}; // class InvokeAfterSocketCreationFunc
37
38} // namespace resip
39
40#endif // include guard
41
42/* ====================================================================
43 *
44 * Copyright 2016 SIP Spectrum, Inc http://www.sipspectrum.com
45 * All rights reserved.
46 *
47 * Redistribution and use in source and binary forms, with or without
48 * modification, are permitted provided that the following conditions
49 * are met:
50 *
51 * 1. Redistributions of source code must retain the above copyright
52 * notice, this list of conditions and the following disclaimer.
53 *
54 * 2. Redistributions in binary form must reproduce the above copyright
55 * notice, this list of conditions and the following disclaimer in
56 * the documentation and/or other materials provided with the
57 * distribution.
58 *
59 * 3. Neither the name of the author(s) nor the names of any contributors
60 * may be used to endorse or promote products derived from this software
61 * without specific prior written permission.
62 *
63 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTORS "AS IS" AND
64 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
65 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
66 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTORS BE LIABLE
67 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
68 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
69 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
70 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
71 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
72 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
73 * SUCH DAMAGE.
74 *
75 * ====================================================================
76 *
77 *
78 */
79
#define resip_assert(x)
This file needs to work for both C and C++ code.
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
Definition Data.hxx:90
static const Data Empty
Constant that represents a zero-length data.
Definition Data.hxx:882
virtual EncodeStream & encodeBrief(EncodeStream &strm) const
output a brief description to stream
virtual EncodeStream & encode(EncodeStream &strm) const
output the entire message to stream
The base-class used for message-passing.
Definition Message.hxx:21
dcm! – add UnusedChecking(_enum) below;
TransportType
An enumeration of transport protocols.
#define EncodeStream