projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reformat: delete trailing whitespace
[metaproxy-moved-to-github.git]
/
include
/
metaproxy
/
origin.hpp
diff --git
a/include/metaproxy/origin.hpp
b/include/metaproxy/origin.hpp
index
eb6ac08
..
2304221
100644
(file)
--- a/
include/metaproxy/origin.hpp
+++ b/
include/metaproxy/origin.hpp
@@
-31,11
+31,11
@@
namespace std {
}
namespace metaproxy_1 {
}
namespace metaproxy_1 {
-
+
class Origin {
public:
Origin();
class Origin {
public:
Origin();
-
+
/// set client IP info - left val in assignment
void set_tcpip_address(std::string addr, unsigned long id);
/// set client IP info - left val in assignment
void set_tcpip_address(std::string addr, unsigned long id);
@@
-44,15
+44,15
@@
namespace metaproxy_1 {
/// set max sockets (for outgoing connections to a given target)
int get_max_sockets();
/// set max sockets (for outgoing connections to a given target)
int get_max_sockets();
-
+
/// get tcpip address
std::string get_address();
void set_custom_session(const std::string &s);
private:
/// get tcpip address
std::string get_address();
void set_custom_session(const std::string &s);
private:
- friend std::ostream&
+ friend std::ostream&
std::operator<<(std::ostream& os, const metaproxy_1::Origin& o);
std::operator<<(std::ostream& os, const metaproxy_1::Origin& o);
-
+
std::string m_address;
unsigned int m_origin_id;
int m_max_sockets;
std::string m_address;
unsigned int m_origin_id;
int m_max_sockets;