Commit Graph

64 Commits

Author SHA1 Message Date
Tristan B. Velloza Kildaire 3ce9ad35e4 Added new ChannelMessage sub-type 2021-08-27 15:07:11 +02:00
Tristan B. Velloza Kildaire bced64d1fc Fixed field numbers 2021-08-27 15:06:09 +02:00
Tristan B. Velloza Kildaire 2a33ec7c68 Fixed field numbers
Added `name` field to AccountMessage
2021-08-27 15:04:48 +02:00
Tristan B. Velloza Kildaire 94e7512ba7 Added new AccountMessage subcommand 2021-08-27 15:03:24 +02:00
Tristan B. Velloza Kildaire b739117094 Cleaned up 2021-08-27 15:03:07 +02:00
Tristan B. Velloza Kildaire 91b7028d1f Removed old unused types 2021-08-27 15:03:01 +02:00
Tristan B. Velloza Kildaire 5295de356b Renamed message types 2021-08-27 15:02:48 +02:00
Tristan B. Velloza Kildaire e60f626dcb Added basic structure for AccountCommand 2021-08-27 15:02:40 +02:00
Tristan B. Velloza Kildaire 5ebec59c39 Added missing MessageType field.
Added missing field numbers.
2021-08-27 15:00:59 +02:00
Tristan B. Velloza Kildaire e5034db783 Removed some old message types 2021-08-27 14:59:09 +02:00
Tristan B. Velloza Kildaire 13cc2f738e Added ChannelProperty 2021-08-27 14:55:59 +02:00
Tristan B. Velloza Kildaire 78ddaf85ec Added ChannelMessage message type 2021-08-27 14:47:47 +02:00
Tristan B. Velloza Kildaire 0da5f7b481 Cleaned up 2021-08-27 14:42:06 +02:00
Tristan B. Velloza Kildaire 8de128ad2c Added new field 2021-08-27 14:41:57 +02:00
Tristan B. Velloza Kildaire 05a3861aff Added ProfileDetails and UserProperty message types 2021-07-18 15:53:20 +02:00
Tristan B. Velloza Kildaire 8e894dc172 Added UserMessage message type 2021-07-18 15:53:04 +02:00
Tristan B. Velloza Kildaire bb359ff379 Set syntax to ProtocolBuffers version 3 2021-07-18 15:52:37 +02:00
Tristan B. Velloza Kildaire a609398058 WIP: Add protocolbuffer 2021-07-18 15:48:37 +02:00
Tristan B. Kildaire 7e25c49ef0 Note to self: Bust my balls with a baseballbat if i don't fix this 2021-01-27 23:13:51 +02:00
Tristan B. Kildaire de3006ac35 Finished OOP 2021-01-27 23:05:06 +02:00
Tristan B. Kildaire 33c01a53ed Re-ordered
Added error handling to `getmembercount`
2021-01-27 23:03:45 +02:00
Tristan B. Kildaire c41d96b8d4 Throw error on `listmembers` failure protocol-wise
Throw error on `listmembers` socket error
2021-01-27 22:55:47 +02:00
Tristan B. Kildaire 1727060060 Do not return any boolean from `sendMessage`
Throw DClientException on `sendMessage` failure
2021-01-27 22:49:15 +02:00
Tristan B. Kildaire 5bd926ab58 On socket network error throw DNetworkError for `sendMessage` 2021-01-27 22:47:42 +02:00
Tristan B. Kildaire 6292ba0852 Added error handling to `listChannels()` 2020-12-20 14:30:42 +02:00
Tristan B. Kildaire 706042198c Error handling for all property functions now implemented. This includes error handling for network sends and also for the commands themselves (invalid parameters) 2020-12-19 12:28:51 +02:00
Tristan B. Kildaire 337f068a45 Fixed compilation error 2020-12-18 21:18:58 +02:00
Tristan B. Kildaire 50cd66b733 s 2020-12-18 18:08:28 +02:00
Tristan B. Kildaire 74c358d623 d 2020-12-18 18:08:21 +02:00
Tristan B. Kildaire c3ece5fc00 `setProperty()` now throws exception on network error 2020-12-18 18:02:57 +02:00
Tristan B. Kildaire 689e2fd592 `isProperty()` now throws an error if the send fails 2020-12-18 13:52:55 +02:00
Tristan B. Kildaire a4d746cd80 `getProperty()` now throws error when the user or property specified is invalid 2020-12-18 13:32:51 +02:00
Tristan B. Kildaire 9389f89c8b Throws an error when `getProperty()` is called and the network is down 2020-12-18 13:31:56 +02:00
Tristan B. Kildaire 9fde618b4c Throws error on `getProperties()` when the user specified is invalid 2020-12-17 23:39:28 +02:00
Tristan B. Kildaire 838e0a4931 Throws exception if network send failes for `getProperties()` 2020-12-17 23:33:13 +02:00
Tristan B. Kildaire 472c731845 `join()` now throws an error on send failure 2020-12-17 23:28:32 +02:00
Tristan B. Kildaire 75d8d1243e `auth()` now throws an error on network error 2020-12-17 23:24:23 +02:00
Tristan B. Kildaire 9f0cad46c8 Renamed module 'dclient' -> 'client; 2020-12-07 19:45:49 +02:00
Tristan B. Kildaire 30ea770c37 Removed old code 2020-10-30 19:24:05 +02:00
Tristan B. Kildaire e8def91645 fsdaf 2020-10-20 13:51:09 +02:00
Tristan B. Kildaire bf84f4d174 d 2020-10-20 13:51:02 +02:00
Tristan B. Kildaire f91b325cd0 Implemented `deleteProperty` 2020-10-20 13:45:02 +02:00
Tristan B. Kildaire cf234156c5 Implemented `setProperty` 2020-10-20 11:22:14 +02:00
Tristan B. Kildaire 3e6d5daede Implemented `isProperty` 2020-10-20 10:32:50 +02:00
Tristan B. Kildaire d040dcf926 Implemented `getProperty` command 2020-10-20 10:26:47 +02:00
Tristan B. Kildaire ba72ba2dbf Implemented `getProprties` command 2020-10-20 09:41:49 +02:00
Tristan B. Kildaire b8f16ebba2 Implemented `status` command 2020-10-18 21:42:54 +02:00
Tristan B. Kildaire a10f546218 Fixed offsets 2020-10-18 21:13:04 +02:00
Tristan B. Kildaire 549d13936b Added `getMemberInfo` 2020-10-18 21:07:14 +02:00
Tristan B. Kildaire 952ef89c94 Fixed visibility 2020-10-17 12:23:20 +02:00