Commit Graph

79 Commits

Author SHA1 Message Date
Tristan B. Velloza Kildaire ff21d16a51 ChannelMessage
- Added `setFrom(string from)`
- Made this validatable

Channels (unittests)

- Added some validation testing
2023-11-22 00:13:05 +02:00
Tristan B. Velloza Kildaire 2d1db7b1ef BaseMessage
- Added decoding support for `SEND_CHANNEL_MESG_REP` and compacted
2023-11-21 14:00:27 +02:00
Tristan B. Velloza Kildaire ad9c01f490 CommandType
- Added missing `SEND_CHANNEL_MESG_REP` enum member
2023-11-21 13:54:38 +02:00
Tristan B. Velloza Kildaire f48e95887f ChannelMessage
- Added status field
- Added required methods
2023-11-21 13:52:22 +02:00
Tristan B. Velloza Kildaire 9dadb5aec9 Status
- Added `UNSET` to be `Status.init`'s value
2023-11-21 13:50:38 +02:00
Tristan B. Velloza Kildaire ead47834fb ChannelMessage
- Implemented `setMessage(string data)`
2023-11-20 20:09:47 +02:00
Tristan B. Velloza Kildaire 9d010247f5 ChannelMessage
- `setTo(string[] to)` now uses `setTo(string)`
2023-11-20 20:09:21 +02:00
Tristan B. Velloza Kildaire 4002854c50 Validatable
- Added new interface
2023-11-20 19:56:15 +02:00
Tristan B. Velloza Kildaire 09a4907044 davinci.base
- Import `Status`
2023-11-19 17:54:36 +02:00
Tristan B. Velloza Kildaire 3de2aa1605 Status
- Added docs
2023-11-19 17:54:25 +02:00
Tristan B. Velloza Kildaire 03b9c7014a BaseMessage
- Fixed parameter type
2023-11-19 17:29:19 +02:00
Tristan B. Velloza Kildaire 7eb0fd8aef BaseMessage
- Added `Status` field
2023-11-19 17:28:59 +02:00
Tristan B. Velloza Kildaire 385d9a7538 Status
- Added status enum
2023-11-19 17:28:49 +02:00
Tristan B. Velloza Kildaire 4555242cff CommandType
- Added `MEMBERSHIP_LEAVE_REP`
2023-11-18 13:05:47 +02:00
Tristan B. Velloza Kildaire bc2a5373b4 ChannelMembership
- Added `leave()` and friends
2023-11-18 13:05:14 +02:00
Tristan B. Velloza Kildaire 458c413f01 ChannelMembership
- Fixed implementation of `list(string channelName)` whereby the channel was never being set
2023-11-18 12:47:39 +02:00
Tristan B. Velloza Kildaire 56dc43253e BaseMessage
- Added decoding support for `CommandType.MEMBERSHIP_JOIN_REP` and `CommandType.MEMBERSHIP_LIST_REP`
2023-11-18 12:43:58 +02:00
Tristan B. Velloza Kildaire c6640f5010 CommandType
- Added `MEMBERSHIP_JOIN_REP`
2023-11-18 12:27:40 +02:00
Tristan B. Velloza Kildaire 5f0b271a91 ChannelMembership
- Added `list(string channelName)`
2023-11-18 12:22:06 +02:00
Tristan B. Velloza Kildaire 854dd6a319 ChannelMembership
- Added `getMembers()`
2023-11-18 12:19:15 +02:00
Tristan B. Velloza Kildaire 91b85d1064 ChannelMembership
- Added `getChannel()`
2023-11-17 23:34:34 +02:00
Tristan B. Velloza Kildaire 0b4f1cbdf9 CommandType
- Added `MEMBERSHIP_LIST_REP`
2023-11-17 23:16:13 +02:00
Tristan B. Velloza Kildaire 6d7f12b79a UnknownCommandReply
- We mjst register the class
2023-11-17 21:50:56 +02:00
Tristan B. Velloza Kildaire 313ffd35cf BaseMessage
- Added decoding support for `UNKNOWN_COMMAND` to an `UnknownCommandReply` instance
2023-11-17 19:39:39 +02:00
Tristan B. Velloza Kildaire 2501968c91 UnknownCommandReply
- Made it a kind-of `Command`
- Add compile time code to add hooks for runtime registration
2023-11-17 19:39:09 +02:00
Tristan B. Velloza Kildaire 5880974a69 CommandType
- Added `UNKNOWN_COMMAND`
2023-11-17 19:35:51 +02:00
Tristan B. Velloza Kildaire b42fb2e2be Command
- Fixed documentation for `setEncoded(byte[] data)`
2023-11-17 19:29:48 +02:00
Tristan B. Velloza Kildaire dc73aff543 UnknownCommandReply
- Added new message type
2023-11-17 19:26:41 +02:00
Tristan B. Velloza Kildaire 874d1c77e4 ChannelMembership
- Added `wasGood()`
2023-11-17 17:53:47 +02:00
Tristan B. Velloza Kildaire 33b455fa35 ChannelMembership
- Added reply facilities
2023-11-17 17:49:17 +02:00
Tristan B. Velloza Kildaire 420cf24db0 BaseMessage
- Added decoding support to `upkr(...)` for `MEMBERSHIP_JOIN`, `MEMBERSHIP_LAVE` and `MEMBERSHIP_LIST`
2023-11-16 22:28:11 +02:00
Tristan B. Velloza Kildaire b9176cb246 MembershipMode
- Added new enum

ChannelMembership

- Added new message type
2023-11-16 17:14:07 +02:00
Tristan B. Velloza Kildaire bf00a107c4 CommandType
- Added new members `MEMBERSHIP_JOIN`, `MEMBERSHIP_LIST` and `MEMBERSHIP_LEAVE`
2023-11-16 17:13:39 +02:00
Tristan B. Velloza Kildaire c225d3fb6c BaseMessage
- Added unpacking support for `CHANNEL_SEND_MESSAGE` and `CHANNEL_NEW_MESSAGE`
2023-11-13 09:55:01 +02:00
Tristan B. Velloza Kildaire 13d761aeb0 CommandType
- Added new enum members `CHANNEL_NEW_MESSAGE` and `CHANNEL_SEND_MESSAGE`
2023-11-13 09:54:38 +02:00
Tristan B. Velloza Kildaire 4c113de94a ChannelMessage
- Added new message type
2023-11-13 09:53:50 +02:00
Tristan B. Velloza Kildaire 6688f0db6a BaseMessage
- Added decoding support for `CHANNELS_ENUMERATE_REQ` and `CHANNELS_ENUMERATE_REP`
2023-11-10 15:07:25 +02:00
Tristan B. Velloza Kildaire 6fe2b691fb ChannelEnumerateReply
- Added constructor with arguments
2023-11-10 13:38:01 +02:00
Tristan B. Velloza Kildaire 026805e644 Components
- Added `CHANNELS_ENUMERATE_REQ` and `CHANNELS_ENUMERATE_REP`

Channels

- Added two new command types
2023-11-10 13:26:49 +02:00
Tristan B. Velloza Kildaire 1bbea05a68 AuthMessage
- Added getters
2023-11-09 23:49:49 +02:00
Tristan B. Velloza Kildaire 2900ba8bcd AuthResponse
- Added new command

Components

- Added `AUTH_RESPONSE`

Container

- Added support for `AuthResponse`
2023-11-09 23:41:31 +02:00
Tristan B. Velloza Kildaire 6e3d86c6cd Container
- Updated `upkr` to support `AUTH_COMMAND`
2023-11-09 23:22:18 +02:00
Tristan B. Velloza Kildaire 55d096cfa7 AuthMessage
- Added `setUsername(string username)` and `setPassword(string password)`
2023-11-09 23:12:02 +02:00
Tristan B. Velloza Kildaire 20b36e9746 Revert "Revert "Test""
This reverts commit 38b86c43c2.
2023-11-09 21:28:38 +02:00
Tristan B. Velloza Kildaire 38b86c43c2 Revert "Test"
This reverts commit 1650775133.
2023-11-09 21:28:07 +02:00
Tristan B. Velloza Kildaire 3d352cab6e LinkMessage
- Added new message type
2023-11-09 21:27:44 +02:00
Tristan B. Velloza Kildaire 31679abda4 AuthMessage
- Added new message type
2023-11-09 21:21:51 +02:00
Tristan B. Velloza Kildaire dc5790eae7 Command
- Removed requirement to pass `byte[]` to us
- Removed commented-out method

Test

- Removed up-call
2023-10-08 17:11:12 +02:00
Tristan B. Velloza Kildaire 1650775133 Test
- Removed `repack()` call in `setTestField(string)`

Command

- `getEncoded()` will now firstly call `repack()` (which updates the `data` array) and then returne said updated `data` array
2023-10-08 17:03:59 +02:00
Tristan B. Velloza Kildaire 593fccd38f Test
- Removed commented-out code
2023-10-08 16:59:36 +02:00