Changeset View
Changeset View
Standalone View
Standalone View
core/backends/lan/landevicelink.h
Show All 38 Lines | |||||
39 | 39 | | |||
40 | public: | 40 | public: | ||
41 | enum ConnectionStarted : bool { Locally, Remotely }; | 41 | enum ConnectionStarted : bool { Locally, Remotely }; | ||
42 | 42 | | |||
43 | LanDeviceLink(const QString& deviceId, LinkProvider* parent, QSslSocket* socket, ConnectionStarted connectionSource); | 43 | LanDeviceLink(const QString& deviceId, LinkProvider* parent, QSslSocket* socket, ConnectionStarted connectionSource); | ||
44 | void reset(QSslSocket* socket, ConnectionStarted connectionSource); | 44 | void reset(QSslSocket* socket, ConnectionStarted connectionSource); | ||
45 | 45 | | |||
46 | QString name() override; | 46 | QString name() override; | ||
47 | bool sendPackage(NetworkPackage& np) override; | 47 | bool sendPacket(NetworkPacket& np) override; | ||
48 | UploadJob* sendPayload(const NetworkPackage& np); | 48 | UploadJob* sendPayload(const NetworkPacket& np); | ||
49 | 49 | | |||
50 | void userRequestsPair() override; | 50 | void userRequestsPair() override; | ||
51 | void userRequestsUnpair() override; | 51 | void userRequestsUnpair() override; | ||
52 | 52 | | |||
53 | void setPairStatus(PairStatus status) override; | 53 | void setPairStatus(PairStatus status) override; | ||
54 | 54 | | |||
55 | bool linkShouldBeKeptAlive() override; | 55 | bool linkShouldBeKeptAlive() override; | ||
56 | 56 | | |||
Show All 12 Lines |