-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added duplex port to HTTP meta, which now allows complete bootstrappi…
…ng (#323)
- Loading branch information
1 parent
45144a0
commit 9788700
Showing
4 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 6 additions & 2 deletions
8
modules/hcc-data-source-api/src/main/java/com/homeclimatecontrol/hcc/meta/EndpointMeta.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
package com.homeclimatecontrol.hcc.meta; | ||
|
||
import com.fasterxml.jackson.databind.PropertyNamingStrategies; | ||
import com.fasterxml.jackson.databind.annotation.JsonNaming; | ||
|
||
/** | ||
* The top level metadata the client will see. | ||
* | ||
* @param version Version for the clients to determine compatibility. | ||
* @param protocolVersion Version for the clients to determine compatibility. | ||
* @param type Endpoint type. Always {@link Type#DIRECT} for the actual HCC instance. | ||
* @param instance Instance metadata. | ||
* | ||
* @author Copyright © <a href="mailto:[email protected]">Vadim Tkachenko</a> 2001-2023 | ||
*/ | ||
@JsonNaming(PropertyNamingStrategies.KebabCaseStrategy.class) | ||
public record EndpointMeta( | ||
String version, | ||
String protocolVersion, | ||
Type type, | ||
InstanceMeta instance | ||
) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters