32 #ifndef ARNDISCOVERCONNECT_HPP 33 #define ARNDISCOVERCONNECT_HPP 38 class ArnDiscoverConnectorPrivate;
225 ArnDiscoverConnectorPrivate*
const d_ptr;
229 void doClientConnectChanged(
int stat,
int curPrio);
230 void doClientConnectRequest(
int reqCode);
232 void postSetupClient();
233 void doClientConnectChange(
const QString& arnHost, quint16 port);
234 void doClientDirHostChanged();
236 void postSetupResolver();
237 void doClientServicetChanged();
241 void doClientReadyToConnect(
ArnClient* arnClient,
const QString&
id);
245 #endif // ARNDISCOVERCONNECT_HPP void clearDirectHosts()
Clear the direct host connection list.
int directHostPrio() const
Return the priority for direct hosts
int discoverHostPrio() const
Return the priority for discovered hosts
QString id() const
Return the identifier for this connector.
void setResolver(ArnDiscoverResolver *resolver)
Set the ArnDiscoverResolver to be used.
State of Arn discover browse data. Can be tested by relative order.
void clientReadyToConnect(ArnClient *arnClient, const QString &id)
Signal for external client connection.
void setService(const QString &service)
Set the service name for the connection.
void addToDirectHosts(const QString &arnHost, quint16 port=0)
Add an Arn Server to the direct host connection list.
QString service() const
Returns the service name for this connection.
bool externalClientConnect() const
Return the external client connect mode.
Class for connecting to an Arn Server.
void setDirectHostPrio(int directHostPrio)
Set the priority for direct hosts
An automatic client discover connector.
void setDiscoverHostPrio(int discoverHostPrio)
Set the priority for discovered hosts
void setResolveRefreshTimeout(int resolveRefreshTimeout)
Set the resolv refresh period.
void start()
Start connector.
int resolveRefreshTimeout() const
Return the resolv refresh period.
void setExternalClientConnect(bool externalClientConnect)
Set the external client connect mode.
ArnDiscoverConnector(ArnClient &client, const QString &id)