libtasks Documentation
1.6
Main Page
Namespaces
Classes
Files
File List
File Members
ip_service.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2013-2014 ADTECH GmbH
3
* Licensed under MIT (https://github.com/adtechlabs/libtasks/blob/master/COPYING)
4
*
5
* Author: Andreas Pohl
6
*/
7
8
#ifndef _IP_SERVICE_H_
9
#define _IP_SERVICE_H_
10
11
#include <
tasks/net/uwsgi_thrift_handler.h
>
12
13
class
ip_service
:
public
tasks::net::uwsgi_thrift_handler
<IpServiceIf> {
14
public
:
15
void
lookup
(response_type& result,
const
int32_t ipv4,
const
ipv6_type& ipv6);
16
};
17
18
#endif // _IP_SERVICE_H_
tasks::net::uwsgi_thrift_handler
Definition:
uwsgi_thrift_handler.h:19
uwsgi_thrift_handler.h
ip_service::lookup
void lookup(response_type &result, const int32_t ipv4, const ipv6_type &ipv6)
Definition:
ip_service.cpp:15
ip_service
Definition:
ip_service.h:13
examples
ip_service_server
ip_service.h
Generated by
1.8.6