FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
SimpleSocket/include/simple_socket/SocketContext.hpp at master · markaren/SimpleSocket · GitHub
markaren
/
SimpleSocket
Public
Notifications
You must be signed in to change notification settings
Fork
1
Star
9
Code
Issues
0
Pull requests
0
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
SimpleSocket
/
include
/
simple_socket
/
SocketContext.hpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
32 lines (21 loc) · 792 Bytes
Breadcrumbs
SimpleSocket
/
include
/
simple_socket
/
SocketContext.hpp
Copy path
File metadata and controls
32 lines (21 loc) · 792 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#
ifndef
SIMPLE_SOCKET_SOCKETCONTEXT_HPP
#
define
SIMPLE_SOCKET_SOCKETCONTEXT_HPP
#
include
"
simple_socket/SimpleConnection.hpp
"
#
include
<
memory
>
#
include
<
string
>
namespace
simple_socket
{
class
SocketContext
{
public:
SocketContext
();
SocketContext
(
const
SocketContext& other) =
delete
;
SocketContext&
operator
=(
const
SocketContext& other) =
delete
;
SocketContext
(SocketContext&& other) =
delete
;
SocketContext&
operator
=(SocketContext&& other) =
delete
;
[[nodiscard]]
virtual
std::unique_ptr<SimpleConnection>
connect
(
const
std::string&) = 0;
virtual
~SocketContext
();
private:
struct
Impl
;
std::unique_ptr<Impl> pimpl_;
};
}
//
namespace simple_socket
#
endif
//
SIMPLE_SOCKET_SOCKETCONTEXT_HPP
Back
|
FazBrowse Home
|
New Git URL