Home
last modified time | relevance | path

Searched refs:serverInfo (Results 1 – 17 of 17) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/netfs/client/
H A DServerManager.cpp49 ExtendedServerInfo* serverInfo) in ServerInfoTask() argument
53 fServerInfo(serverInfo), in ServerInfoTask()
118 error = fServerInfo->SetTo(&request->serverInfo); in Execute()
197 ExtendedServerInfo* serverInfo = it.Next().value; in Uninit() local
198 serverInfo->ReleaseReference(); in Uninit()
216 ExtendedServerInfo* serverInfo = fServerInfos->Get(address); in GetServerInfo() local
217 if (!serverInfo in GetServerInfo()
218 || (serverInfo->GetState() != STATE_READY in GetServerInfo()
219 && serverInfo->GetState() != STATE_UPDATING)) { in GetServerInfo()
222 serverInfo->AcquireReference(); in GetServerInfo()
[all …]
H A DServerManager.h39 void _ServerAdded(ExtendedServerInfo* serverInfo);
40 void _ServerUpdated(ExtendedServerInfo* serverInfo);
42 ExtendedServerInfo* serverInfo);
44 ExtendedServerInfo* serverInfo);
45 void _RemoveServer(ExtendedServerInfo* serverInfo);
62 virtual void ServerAdded(ExtendedServerInfo* serverInfo) = 0;
66 ExtendedServerInfo* serverInfo) = 0;
H A DExtendedServerInfo.cpp103 ExtendedServerInfo::SetTo(ServerInfo* serverInfo) in SetTo() argument
105 if (!serverInfo) in SetTo()
108 const char* name = serverInfo->GetServerName(); in SetTo()
117 || !fConnectionMethod.SetTo(serverInfo->GetConnectionMethod())) { in SetTo()
121 int32 shareCount = serverInfo->CountShares(); in SetTo()
123 const ShareInfo& shareInfo = serverInfo->ShareInfoAt(i); in SetTo()
H A DRootVolume.cpp208 RootVolume::ServerAdded(ExtendedServerInfo* serverInfo) in ServerAdded() argument
210 PRINT("RootVolume::ServerAdded(%s)\n", serverInfo->GetServerName()); in ServerAdded()
212 ServerVolume* serverVolume = _GetServerVolume(serverInfo->GetAddress()); in ServerAdded()
224 status_t error = GetUniqueEntryName(serverInfo->GetServerName(), in ServerAdded()
230 serverVolume = new(std::nothrow) ServerVolume(fVolumeManager, serverInfo); in ServerAdded()
274 RootVolume::ServerRemoved(ExtendedServerInfo* serverInfo) in ServerRemoved() argument
276 PRINT("RootVolume::ServerRemoved(%s)\n", serverInfo->GetServerName()); in ServerRemoved()
278 ServerVolume* serverVolume = _GetServerVolume(serverInfo->GetAddress()); in ServerRemoved()
H A DServerVolume.cpp25 ExtendedServerInfo* serverInfo) in ServerVolume() argument
27 fServerInfo(serverInfo), in ServerVolume()
52 ServerVolume::SetServerInfo(ExtendedServerInfo* serverInfo) in SetServerInfo() argument
54 if (!serverInfo) in SetServerInfo()
60 fServerInfo = serverInfo; in SetServerInfo()
76 bool remove = (!serverInfo->GetShareInfo(name)); in SetServerInfo()
95 int32 count = serverInfo->CountShares(); in SetServerInfo()
97 ExtendedShareInfo* shareInfo = serverInfo->ShareInfoAt(i); in SetServerInfo()
H A DServerVolume.h20 ExtendedServerInfo* serverInfo);
25 void SetServerInfo(ExtendedServerInfo* serverInfo);
H A DRootVolume.h37 virtual void ServerAdded(ExtendedServerInfo* serverInfo);
40 virtual void ServerRemoved(ExtendedServerInfo* serverInfo);
H A DServerConnectionProvider.cpp12 ExtendedServerInfo* serverInfo, in ServerConnectionProvider() argument
18 fServerInfo(serverInfo), in ServerConnectionProvider()
H A DServerConnectionProvider.h20 ExtendedServerInfo* serverInfo,
H A DServerConnection.cpp25 ExtendedServerInfo* serverInfo) in ServerConnection() argument
31 fServerInfo(serverInfo), in ServerConnection()
H A DExtendedServerInfo.h42 status_t SetTo(ServerInfo* serverInfo);
H A DServerConnection.h22 ExtendedServerInfo* serverInfo);
H A DShareVolume.h39 ExtendedServerInfo* serverInfo,
H A DShareVolume.cpp150 ExtendedServerInfo* serverInfo, ExtendedShareInfo* shareInfo) in ShareVolume() argument
161 fServerInfo(serverInfo), in ShareVolume()
3016 ExtendedServerInfo* serverInfo = fServerInfo; in _MountShare() local
3022 status_t error = serverInfo->GetAddress().GetString(&serverAddressString, in _MountShare()
3029 const char* serverName = serverInfo->GetServerName(); in _MountShare()
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DNetFSServer.cpp128 ServerInfoSender(int socket, const ServerInfo& serverInfo) in ServerInfoSender() argument
131 fServerInfo(serverInfo) in ServerInfoSender()
167 request.serverInfo = fServerInfo; in Execute()
1302 NetFSServer::_GetServerInfo(ServerInfo& serverInfo) in _GetServerInfo() argument
1311 status_t error = serverInfo.SetServerName(hostName); in _GetServerInfo()
1314 error = serverInfo.SetConnectionMethod("insecure"); in _GetServerInfo()
1327 error = serverInfo.AddShare(shareName); in _GetServerInfo()
H A DNetFSServer.h69 status_t _GetServerInfo(ServerInfo& serverInfo);
/haiku/src/add-ons/kernel/file_systems/netfs/headers/shared/
H A DRequests.h1364 visitor->Visit(this, serverInfo); in ShowAround()
1367 ServerInfo serverInfo; member