Browse Source

device: interface for sending messages to a device

bboozzoo/share-upload
Maciek Borzecki 7 years ago
parent
commit
1f84d84767
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      src/mconnect/device.vala

+ 7
- 0
src/mconnect/device.vala View File

@ -592,4 +592,11 @@ class Device : Object {
this.certificate_fingerprint = sb.str;
}
public void send(Packet pkt) {
// TODO: queue messages
if (this._channel != null) {
_channel.send(pkt);
}
}
}

Loading…
Cancel
Save