1692fe555SRene Gollent/*
2f9065b53SRene Gollent * Copyright 2016-2017, Rene Gollent, rene@gollent.com.
3692fe555SRene Gollent * Copyright 2016, Ingo Weinhold, ingo_weinhold@gmx.de.
4692fe555SRene Gollent * Distributed under the terms of the MIT License.
5692fe555SRene Gollent */
6692fe555SRene Gollent
7692fe555SRene Gollent#include "NetworkTargetHostInterface.h"
8692fe555SRene Gollent
9692fe555SRene Gollent#include <AutoDeleter.h>
10692fe555SRene Gollent#include <AutoLocker.h>
11692fe555SRene Gollent#include <system_info.h>
12692fe555SRene Gollent#include <util/KMessage.h>
13692fe555SRene Gollent
14692fe555SRene Gollent#include "debug_utils.h"
15692fe555SRene Gollent
16692fe555SRene Gollent#include "TargetHost.h"
17692fe555SRene Gollent
18692fe555SRene Gollent
19692fe555SRene GollentNetworkTargetHostInterface::NetworkTargetHostInterface()
20692fe555SRene Gollent	:
21f9065b53SRene Gollent	TargetHostInterface(),
22f9065b53SRene Gollent	fTargetHost(NULL)
23692fe555SRene Gollent{
24692fe555SRene Gollent	SetName("Network");
25692fe555SRene Gollent}
26692fe555SRene Gollent
27692fe555SRene Gollent
28692fe555SRene GollentNetworkTargetHostInterface::~NetworkTargetHostInterface()
29692fe555SRene Gollent{
30692fe555SRene Gollent	Close();
31692fe555SRene Gollent
32692fe555SRene Gollent	if (fTargetHost != NULL)
33692fe555SRene Gollent		fTargetHost->ReleaseReference();
34692fe555SRene Gollent}
35692fe555SRene Gollent
36692fe555SRene Gollent
37692fe555SRene Gollentstatus_t
38692fe555SRene GollentNetworkTargetHostInterface::Init(Settings* settings)
39692fe555SRene Gollent{
40692fe555SRene Gollent	return B_NOT_SUPPORTED;
41692fe555SRene Gollent}
42692fe555SRene Gollent
43692fe555SRene Gollent
44692fe555SRene Gollentvoid
45692fe555SRene GollentNetworkTargetHostInterface::Close()
46692fe555SRene Gollent{
47692fe555SRene Gollent}
48692fe555SRene Gollent
49692fe555SRene Gollent
50692fe555SRene Gollentbool
51692fe555SRene GollentNetworkTargetHostInterface::IsLocal() const
52692fe555SRene Gollent{
53692fe555SRene Gollent	return false;
54692fe555SRene Gollent}
55692fe555SRene Gollent
56692fe555SRene Gollent
57692fe555SRene Gollentbool
58692fe555SRene GollentNetworkTargetHostInterface::Connected() const
59692fe555SRene Gollent{
60692fe555SRene Gollent	return false;
61692fe555SRene Gollent}
62692fe555SRene Gollent
63692fe555SRene Gollent
64692fe555SRene GollentTargetHost*
65692fe555SRene GollentNetworkTargetHostInterface::GetTargetHost()
66692fe555SRene Gollent{
67692fe555SRene Gollent	return fTargetHost;
68692fe555SRene Gollent}
69692fe555SRene Gollent
70692fe555SRene Gollent
71692fe555SRene Gollentstatus_t
72692fe555SRene GollentNetworkTargetHostInterface::Attach(team_id teamID, thread_id threadID,
73692fe555SRene Gollent	DebuggerInterface*& _interface) const
74692fe555SRene Gollent{
75692fe555SRene Gollent	return B_NOT_SUPPORTED;
76692fe555SRene Gollent}
77692fe555SRene Gollent
78692fe555SRene Gollent
79692fe555SRene Gollentstatus_t
80692fe555SRene GollentNetworkTargetHostInterface::CreateTeam(int commandLineArgc,
81692fe555SRene Gollent	const char* const* arguments, team_id& _teamID) const
82692fe555SRene Gollent{
83692fe555SRene Gollent	return B_NOT_SUPPORTED;
84692fe555SRene Gollent}
85692fe555SRene Gollent
86692fe555SRene Gollent
87692fe555SRene Gollentstatus_t
88692fe555SRene GollentNetworkTargetHostInterface::LoadCore(const char* coreFilePath,
89692fe555SRene Gollent	DebuggerInterface*& _interface, thread_id& _thread) const
90692fe555SRene Gollent{
91692fe555SRene Gollent	return B_NOT_SUPPORTED;
92692fe555SRene Gollent}
93692fe555SRene Gollent
94692fe555SRene Gollent
95692fe555SRene Gollentstatus_t
96692fe555SRene GollentNetworkTargetHostInterface::FindTeamByThread(thread_id thread,
97692fe555SRene Gollent	team_id& _teamID) const
98692fe555SRene Gollent{
99692fe555SRene Gollent	return B_NOT_SUPPORTED;
100692fe555SRene Gollent}
101