File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 12
12
D_BsnNamespace1 (plug_net)
13
13
// ////////////////////////////////////////////////////////////////////
14
14
class I_TCPListen;
15
+ class I_TCPConnect ;
15
16
class I_Address ;
16
17
17
18
class I_PlugNet : public D_N1 (plug_mgr)::I_Plug {
18
19
public:
19
20
typedef std::shared_ptr<I_PlugNet> T_SPI_PlugNet;
20
21
typedef std::shared_ptr<I_TCPListen> T_SPI_TCPListen;
22
+ typedef std::shared_ptr<I_TCPConnect> T_SPI_TCPConnect;
21
23
typedef std::shared_ptr<I_Address> T_SPI_Address;
22
24
23
25
public:
24
26
virtual I_Dns::T_SPI_Dns NewI_Dns () = 0 ;
25
27
virtual T_SPI_TCPListen NewI_TCPListen () = 0 ;
28
+ virtual T_SPI_TCPConnect NewI_TCPConnect () = 0 ;
26
29
virtual T_SPI_Address NewI_Address () = 0 ;
27
30
28
31
Original file line number Diff line number Diff line change 8
8
#include < bsn_cpp/plug_net/src/url.h>
9
9
#include < bsn_cpp/plug_net/src/tcp_listen.h>
10
10
#include < bsn_cpp/plug_net/include/i_tcp_session.h>
11
+ #include < bsn_cpp/plug_net/src/tcp_connect.h>
11
12
12
13
#include < bsn_cpp/plug_mgr/include/i_plug_mgr.h>
13
14
#include < bsn_cpp/plug_cmd/include/i_plug_cmd.h>
@@ -197,6 +198,10 @@ C_PlugNet::T_SPI_TCPListen C_PlugNet::NewI_TCPListen() {
197
198
return C_TCPListen::NewI_TCPListen (GetSPC_PlugNet ());
198
199
}
199
200
201
+ C_PlugNet::T_SPI_TCPConnect C_PlugNet::NewI_TCPConnect () {
202
+ return C_TCPConnect::NewI_TCPConnect (GetSPC_PlugNet ());
203
+ }
204
+
200
205
C_PlugNet::T_SPI_Address C_PlugNet::NewI_Address () {
201
206
return C_Address::NewI_Address ();
202
207
}
Original file line number Diff line number Diff line change 1
1
#pragma once
2
2
3
- #include " ./.. /include/i_plug_net.h"
3
+ #include < bsn_cpp/plug_net /include/i_plug_net.h>
4
4
#include < bsn_cpp/plug_mgr/include/plug_data/plug_data_net.h>
5
5
#include < bsn_cpp/plug_net/include/i_dns.h>
6
6
@@ -33,6 +33,7 @@ class C_PlugNet : public I_PlugNet {
33
33
public: // I_PlugNet
34
34
virtual I_Dns::T_SPI_Dns NewI_Dns () override ;
35
35
virtual T_SPI_TCPListen NewI_TCPListen () override ;
36
+ virtual T_SPI_TCPConnect NewI_TCPConnect () override ;
36
37
virtual T_SPI_Address NewI_Address () override ;
37
38
38
39
You can’t perform that action at this time.
0 commit comments