OpenSDN source code
xmpp_factory.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
3
* Copyright Contributors to the OpenSDN project
4
*/
5
6
#ifndef __ctrlplane__xmpp_factory__
7
#define __ctrlplane__xmpp_factory__
8
9
#include "
base/factory.h
"
10
11
class
TcpServer
;
12
class
XmppChannelConfig
;
13
class
XmppChannelMux
;
14
class
XmppConnection
;
15
class
XmppClient
;
16
class
XmppClientConnection
;
17
class
XmppLifetimeManager
;
18
class
XmppServer
;
19
class
XmppServerConnection
;
20
class
XmppStateMachine
;
21
22
struct
XmppStaticObjectFactory
:
public
StaticObjectFactory
{
23
};
24
25
using
XmppServerConnectionRec
=
26
XmppStaticObjectFactory::FactoryRecord
<
XmppServerConnection
,
27
XmppServer
*,
28
const
XmppChannelConfig
*>;
29
30
using
XmppClientConnectionRec
=
31
XmppStaticObjectFactory::FactoryRecord
<
XmppClientConnection
,
32
XmppClient
*,
33
const
XmppChannelConfig
*>;
34
35
using
XmppStateMachineRec
=
36
XmppStaticObjectFactory::FactoryRecord
<
XmppStateMachine
,
37
XmppConnection
*,
38
bool,
39
bool,
40
int
>;
41
42
using
XmppChannelMuxRec
=
43
XmppStaticObjectFactory::FactoryRecord
<
XmppChannelMux
,
44
XmppConnection
*>;
45
46
using
XmppLifetimeManagerRec
=
47
XmppStaticObjectFactory::FactoryRecord
<
XmppLifetimeManager
,
48
int
>;
49
50
#endif
/* defined(__ctrlplane__xmpp_factory__) */
51
TcpServer
Definition:
tcp_server.h:29
XmppChannelConfig
Definition:
xmpp_config.h:17
XmppChannelMux
Definition:
xmpp_channel_mux.h:19
XmppClientConnection
Definition:
xmpp_connection.h:337
XmppClient
Definition:
xmpp_client.h:25
XmppConnection
Definition:
xmpp_connection.h:31
XmppLifetimeManager
Definition:
xmpp_lifetime.h:11
XmppServerConnection
Definition:
xmpp_connection.h:297
XmppServer
Definition:
xmpp_server.h:35
XmppStateMachine
Definition:
xmpp_state_machine.h:63
factory.h
StaticObjectFactory::FactoryRecord
Definition:
factory.h:59
StaticObjectFactory
Definition:
factory.h:24
XmppStaticObjectFactory
Definition:
xmpp_factory.h:22
contrail
controller
src
xmpp
xmpp_factory.h
Generated by
1.9.1