summaryrefslogtreecommitdiffstats
blob: 931efee39e53d18db3ee11908489bc923f73c19f (plain)
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
/*
 * Copyright (c) 2011 Tobias Markmann
 * Licensed under the simplified BSD license.
 * See Documentation/Licenses/BSD-simplified.txt for more information.
 */

#pragma once

#include <Swiften/Network/PlatformNATTraversalForwardPortRequest.h>

namespace Swift {

class UPnPNATTraversalForwardPortRequest : public PlatformNATTraversalForwardPortRequest {
public:
	UPnPNATTraversalForwardPortRequest(PlatformNATTraversalForwardPortRequest::PortMapping, PlatformNATTraversalWorker*);
	virtual ~UPnPNATTraversalForwardPortRequest();

	virtual void runBlocking();

private:
	HostAddress getLocalClient();

private:
	PlatformNATTraversalForwardPortRequest::PortMapping mapping;
};

}