plebble
tcp_addr.h
Go to the documentation of this file.
1
/*
2
-------------------------------------------------------------------------------
3
PLEBBLE
4
-------------------------------------------------------------------------------
5
Copyright (C) 2019-2020 KATLAS Technology. (http://katlastechnology.com)
6
Copyright (C) 2017-2020 Marcos Mayorga. (mm@mm-studios.com)
7
8
This file is part of our Plebble(R) Platform.
9
10
The code below cannot be copied, used for any purpose other than the one
11
agreed and/or distributed without the express permission of
12
KATLAS Technology.
13
-------------------------------------------------------------------------------
14
15
16
*/
17
#ifndef USGOV_895b787d4a6c5de6e648b2f1189f56696b74ef9ec9463cc13f1cc1f6e6636d6e
18
#define USGOV_895b787d4a6c5de6e648b2f1189f56696b74ef9ec9463cc13f1cc1f6e6636d6e
19
20
#include "
addr_t.h
"
21
22
namespace
us
{
namespace
gov {
23
namespace
engine {
24
using namespace
std
;
25
26
struct
tcp_addr
:
addr_t
{
27
typedef
addr_t
b
;
28
29
static
constexpr
char
id
{
'A'
};
30
virtual
void
to_stream
(ostream& os)
const override
;
31
static
addr_t
*
from_stream
(istream& is);
32
33
string
address
;
34
uint16_t
port
;
35
};
36
37
}
38
}}
39
40
#endif
41
us::gov::engine::tcp_addr::address
string address
Definition:
tcp_addr.h:33
tcp_addr.h
us
Definition:
daemon.h:22
us::gov::engine::tcp_addr::port
uint16_t port
Definition:
tcp_addr.h:34
us::gov::engine::tcp_addr::b
addr_t b
Definition:
tcp_addr.h:27
us::gov::engine::tcp_addr::from_stream
static addr_t * from_stream(istream &is)
us::gov::engine::tcp_addr
Definition:
tcp_addr.h:26
addr_t.h
us::gov::engine
Definition:
hmi.h:32
std
Definition:
app.h:380
c
us::gov::engine::tcp_addr c
Definition:
tcp_addr.cpp:19
us::gov::engine::tcp_addr::to_stream
virtual void to_stream(ostream &os) const override
us::gov::id::peer_t
Definition:
peer_t.h:35
us::gov::engine::addr_t
Definition:
addr_t.h:27
gov
engine
tcp_addr.h
Generated by
1.8.20