@@ -14636,46 +14636,46 @@ public String toString() {
14636
14636
public static class WebRTCTransportProviderClusterWebRTCSessionStruct {
14637
14637
public Integer id;
14638
14638
public Long peerNodeID;
14639
- public Integer peerFabricIndex;
14640
14639
public Integer streamUsage;
14641
14640
public @Nullable Integer videoStreamID;
14642
14641
public @Nullable Integer audioStreamID;
14643
14642
public Integer metadataOptions;
14643
+ public Integer fabricIndex;
14644
14644
private static final long ID_ID = 1L;
14645
14645
private static final long PEER_NODE_ID_ID = 2L;
14646
- private static final long PEER_FABRIC_INDEX_ID = 3L;
14647
- private static final long STREAM_USAGE_ID = 4L;
14648
- private static final long VIDEO_STREAM_ID_ID = 5L;
14649
- private static final long AUDIO_STREAM_ID_ID = 6L;
14650
- private static final long METADATA_OPTIONS_ID = 7L ;
14646
+ private static final long STREAM_USAGE_ID = 3L;
14647
+ private static final long VIDEO_STREAM_ID_ID = 4L;
14648
+ private static final long AUDIO_STREAM_ID_ID = 5L;
14649
+ private static final long METADATA_OPTIONS_ID = 6L;
14650
+ private static final long FABRIC_INDEX_ID = 254L ;
14651
14651
14652
14652
public WebRTCTransportProviderClusterWebRTCSessionStruct(
14653
14653
Integer id,
14654
14654
Long peerNodeID,
14655
- Integer peerFabricIndex,
14656
14655
Integer streamUsage,
14657
14656
@Nullable Integer videoStreamID,
14658
14657
@Nullable Integer audioStreamID,
14659
- Integer metadataOptions
14658
+ Integer metadataOptions,
14659
+ Integer fabricIndex
14660
14660
) {
14661
14661
this.id = id;
14662
14662
this.peerNodeID = peerNodeID;
14663
- this.peerFabricIndex = peerFabricIndex;
14664
14663
this.streamUsage = streamUsage;
14665
14664
this.videoStreamID = videoStreamID;
14666
14665
this.audioStreamID = audioStreamID;
14667
14666
this.metadataOptions = metadataOptions;
14667
+ this.fabricIndex = fabricIndex;
14668
14668
}
14669
14669
14670
14670
public StructType encodeTlv() {
14671
14671
ArrayList<StructElement> values = new ArrayList<>();
14672
14672
values.add(new StructElement(ID_ID, new UIntType(id)));
14673
14673
values.add(new StructElement(PEER_NODE_ID_ID, new UIntType(peerNodeID)));
14674
- values.add(new StructElement(PEER_FABRIC_INDEX_ID, new UIntType(peerFabricIndex)));
14675
14674
values.add(new StructElement(STREAM_USAGE_ID, new UIntType(streamUsage)));
14676
14675
values.add(new StructElement(VIDEO_STREAM_ID_ID, videoStreamID != null ? new UIntType(videoStreamID) : new NullType()));
14677
14676
values.add(new StructElement(AUDIO_STREAM_ID_ID, audioStreamID != null ? new UIntType(audioStreamID) : new NullType()));
14678
14677
values.add(new StructElement(METADATA_OPTIONS_ID, new UIntType(metadataOptions)));
14678
+ values.add(new StructElement(FABRIC_INDEX_ID, new UIntType(fabricIndex)));
14679
14679
14680
14680
return new StructType(values);
14681
14681
}
@@ -14686,11 +14686,11 @@ public static WebRTCTransportProviderClusterWebRTCSessionStruct decodeTlv(BaseTL
14686
14686
}
14687
14687
Integer id = null;
14688
14688
Long peerNodeID = null;
14689
- Integer peerFabricIndex = null;
14690
14689
Integer streamUsage = null;
14691
14690
@Nullable Integer videoStreamID = null;
14692
14691
@Nullable Integer audioStreamID = null;
14693
14692
Integer metadataOptions = null;
14693
+ Integer fabricIndex = null;
14694
14694
for (StructElement element: ((StructType)tlvValue).value()) {
14695
14695
if (element.contextTagNum() == ID_ID) {
14696
14696
if (element.value(BaseTLVType.class).type() == TLVType.UInt) {
@@ -14702,11 +14702,6 @@ public static WebRTCTransportProviderClusterWebRTCSessionStruct decodeTlv(BaseTL
14702
14702
UIntType castingValue = element.value(UIntType.class);
14703
14703
peerNodeID = castingValue.value(Long.class);
14704
14704
}
14705
- } else if (element.contextTagNum() == PEER_FABRIC_INDEX_ID) {
14706
- if (element.value(BaseTLVType.class).type() == TLVType.UInt) {
14707
- UIntType castingValue = element.value(UIntType.class);
14708
- peerFabricIndex = castingValue.value(Integer.class);
14709
- }
14710
14705
} else if (element.contextTagNum() == STREAM_USAGE_ID) {
14711
14706
if (element.value(BaseTLVType.class).type() == TLVType.UInt) {
14712
14707
UIntType castingValue = element.value(UIntType.class);
@@ -14727,16 +14722,21 @@ public static WebRTCTransportProviderClusterWebRTCSessionStruct decodeTlv(BaseTL
14727
14722
UIntType castingValue = element.value(UIntType.class);
14728
14723
metadataOptions = castingValue.value(Integer.class);
14729
14724
}
14725
+ } else if (element.contextTagNum() == FABRIC_INDEX_ID) {
14726
+ if (element.value(BaseTLVType.class).type() == TLVType.UInt) {
14727
+ UIntType castingValue = element.value(UIntType.class);
14728
+ fabricIndex = castingValue.value(Integer.class);
14729
+ }
14730
14730
}
14731
14731
}
14732
14732
return new WebRTCTransportProviderClusterWebRTCSessionStruct(
14733
14733
id,
14734
14734
peerNodeID,
14735
- peerFabricIndex,
14736
14735
streamUsage,
14737
14736
videoStreamID,
14738
14737
audioStreamID,
14739
- metadataOptions
14738
+ metadataOptions,
14739
+ fabricIndex
14740
14740
);
14741
14741
}
14742
14742
@@ -14750,9 +14750,6 @@ public String toString() {
14750
14750
output.append("\tpeerNodeID: ");
14751
14751
output.append(peerNodeID);
14752
14752
output.append("\n");
14753
- output.append("\tpeerFabricIndex: ");
14754
- output.append(peerFabricIndex);
14755
- output.append("\n");
14756
14753
output.append("\tstreamUsage: ");
14757
14754
output.append(streamUsage);
14758
14755
output.append("\n");
@@ -14765,6 +14762,9 @@ public String toString() {
14765
14762
output.append("\tmetadataOptions: ");
14766
14763
output.append(metadataOptions);
14767
14764
output.append("\n");
14765
+ output.append("\tfabricIndex: ");
14766
+ output.append(fabricIndex);
14767
+ output.append("\n");
14768
14768
output.append("}\n");
14769
14769
return output.toString();
14770
14770
}
@@ -14863,46 +14863,46 @@ public String toString() {
14863
14863
public static class WebRTCTransportRequestorClusterWebRTCSessionStruct {
14864
14864
public Integer id;
14865
14865
public Long peerNodeID;
14866
- public Integer peerFabricIndex;
14867
14866
public Integer streamUsage;
14868
14867
public @Nullable Integer videoStreamID;
14869
14868
public @Nullable Integer audioStreamID;
14870
14869
public Integer metadataOptions;
14870
+ public Integer fabricIndex;
14871
14871
private static final long ID_ID = 1L;
14872
14872
private static final long PEER_NODE_ID_ID = 2L;
14873
- private static final long PEER_FABRIC_INDEX_ID = 3L;
14874
- private static final long STREAM_USAGE_ID = 4L;
14875
- private static final long VIDEO_STREAM_ID_ID = 5L;
14876
- private static final long AUDIO_STREAM_ID_ID = 6L;
14877
- private static final long METADATA_OPTIONS_ID = 7L ;
14873
+ private static final long STREAM_USAGE_ID = 3L;
14874
+ private static final long VIDEO_STREAM_ID_ID = 4L;
14875
+ private static final long AUDIO_STREAM_ID_ID = 5L;
14876
+ private static final long METADATA_OPTIONS_ID = 6L;
14877
+ private static final long FABRIC_INDEX_ID = 254L ;
14878
14878
14879
14879
public WebRTCTransportRequestorClusterWebRTCSessionStruct(
14880
14880
Integer id,
14881
14881
Long peerNodeID,
14882
- Integer peerFabricIndex,
14883
14882
Integer streamUsage,
14884
14883
@Nullable Integer videoStreamID,
14885
14884
@Nullable Integer audioStreamID,
14886
- Integer metadataOptions
14885
+ Integer metadataOptions,
14886
+ Integer fabricIndex
14887
14887
) {
14888
14888
this.id = id;
14889
14889
this.peerNodeID = peerNodeID;
14890
- this.peerFabricIndex = peerFabricIndex;
14891
14890
this.streamUsage = streamUsage;
14892
14891
this.videoStreamID = videoStreamID;
14893
14892
this.audioStreamID = audioStreamID;
14894
14893
this.metadataOptions = metadataOptions;
14894
+ this.fabricIndex = fabricIndex;
14895
14895
}
14896
14896
14897
14897
public StructType encodeTlv() {
14898
14898
ArrayList<StructElement> values = new ArrayList<>();
14899
14899
values.add(new StructElement(ID_ID, new UIntType(id)));
14900
14900
values.add(new StructElement(PEER_NODE_ID_ID, new UIntType(peerNodeID)));
14901
- values.add(new StructElement(PEER_FABRIC_INDEX_ID, new UIntType(peerFabricIndex)));
14902
14901
values.add(new StructElement(STREAM_USAGE_ID, new UIntType(streamUsage)));
14903
14902
values.add(new StructElement(VIDEO_STREAM_ID_ID, videoStreamID != null ? new UIntType(videoStreamID) : new NullType()));
14904
14903
values.add(new StructElement(AUDIO_STREAM_ID_ID, audioStreamID != null ? new UIntType(audioStreamID) : new NullType()));
14905
14904
values.add(new StructElement(METADATA_OPTIONS_ID, new UIntType(metadataOptions)));
14905
+ values.add(new StructElement(FABRIC_INDEX_ID, new UIntType(fabricIndex)));
14906
14906
14907
14907
return new StructType(values);
14908
14908
}
@@ -14913,11 +14913,11 @@ public static WebRTCTransportRequestorClusterWebRTCSessionStruct decodeTlv(BaseT
14913
14913
}
14914
14914
Integer id = null;
14915
14915
Long peerNodeID = null;
14916
- Integer peerFabricIndex = null;
14917
14916
Integer streamUsage = null;
14918
14917
@Nullable Integer videoStreamID = null;
14919
14918
@Nullable Integer audioStreamID = null;
14920
14919
Integer metadataOptions = null;
14920
+ Integer fabricIndex = null;
14921
14921
for (StructElement element: ((StructType)tlvValue).value()) {
14922
14922
if (element.contextTagNum() == ID_ID) {
14923
14923
if (element.value(BaseTLVType.class).type() == TLVType.UInt) {
@@ -14929,11 +14929,6 @@ public static WebRTCTransportRequestorClusterWebRTCSessionStruct decodeTlv(BaseT
14929
14929
UIntType castingValue = element.value(UIntType.class);
14930
14930
peerNodeID = castingValue.value(Long.class);
14931
14931
}
14932
- } else if (element.contextTagNum() == PEER_FABRIC_INDEX_ID) {
14933
- if (element.value(BaseTLVType.class).type() == TLVType.UInt) {
14934
- UIntType castingValue = element.value(UIntType.class);
14935
- peerFabricIndex = castingValue.value(Integer.class);
14936
- }
14937
14932
} else if (element.contextTagNum() == STREAM_USAGE_ID) {
14938
14933
if (element.value(BaseTLVType.class).type() == TLVType.UInt) {
14939
14934
UIntType castingValue = element.value(UIntType.class);
@@ -14954,16 +14949,21 @@ public static WebRTCTransportRequestorClusterWebRTCSessionStruct decodeTlv(BaseT
14954
14949
UIntType castingValue = element.value(UIntType.class);
14955
14950
metadataOptions = castingValue.value(Integer.class);
14956
14951
}
14952
+ } else if (element.contextTagNum() == FABRIC_INDEX_ID) {
14953
+ if (element.value(BaseTLVType.class).type() == TLVType.UInt) {
14954
+ UIntType castingValue = element.value(UIntType.class);
14955
+ fabricIndex = castingValue.value(Integer.class);
14956
+ }
14957
14957
}
14958
14958
}
14959
14959
return new WebRTCTransportRequestorClusterWebRTCSessionStruct(
14960
14960
id,
14961
14961
peerNodeID,
14962
- peerFabricIndex,
14963
14962
streamUsage,
14964
14963
videoStreamID,
14965
14964
audioStreamID,
14966
- metadataOptions
14965
+ metadataOptions,
14966
+ fabricIndex
14967
14967
);
14968
14968
}
14969
14969
@@ -14977,9 +14977,6 @@ public String toString() {
14977
14977
output.append("\tpeerNodeID: ");
14978
14978
output.append(peerNodeID);
14979
14979
output.append("\n");
14980
- output.append("\tpeerFabricIndex: ");
14981
- output.append(peerFabricIndex);
14982
- output.append("\n");
14983
14980
output.append("\tstreamUsage: ");
14984
14981
output.append(streamUsage);
14985
14982
output.append("\n");
@@ -14992,6 +14989,9 @@ public String toString() {
14992
14989
output.append("\tmetadataOptions: ");
14993
14990
output.append(metadataOptions);
14994
14991
output.append("\n");
14992
+ output.append("\tfabricIndex: ");
14993
+ output.append(fabricIndex);
14994
+ output.append("\n");
14995
14995
output.append("}\n");
14996
14996
return output.toString();
14997
14997
}
0 commit comments