76 void to_variant(
const ip::endpoint& var, variant& vo );
77 void from_variant(
const variant& var, ip::endpoint& vo );
79 void to_variant(
const ip::address& var, variant& vo );
80 void from_variant(
const variant& var, ip::address& vo );
85 template<
typename Stream>
90 template<
typename Stream>
98 template<
typename Stream>
104 template<
typename Stream>
121 struct hash<
fc::ip::endpoint>
address & operator=(const fc::string &s)
bool is_private_address() const
bool is_public_address() const
friend bool operator!=(const address &a, const address &b)
bool is_multicast_address() const
friend bool operator==(const address &a, const address &b)
friend bool operator!=(const endpoint &a, const endpoint &b)
void set_port(uint16_t p)
const address & get_address() const
static endpoint from_string(const string &s)
friend bool operator<(const endpoint &a, const endpoint &b)
friend bool operator==(const endpoint &a, const endpoint &b)
Concept for reading and writing characters.
void unpack(Stream &s, std::deque< T > &value)
void pack(Stream &s, const std::deque< T > &value)
size_t city_hash_size_t(const char *buf, size_t len)
void from_variant(const fc::variant &v, sysio::chain::chain_id_type &cid)
void to_variant(const sysio::chain::shared_public_key &var, fc::variant &vo)
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
#define FC_REFLECT_TYPENAME(TYPE)
size_t operator()(const fc::ip::endpoint &e) const