xrtSshChannelOpenWrite

写入或读取可扩展 channel open。

xsshcode xrtSshChannelOpenWrite( xsshwriter* pWriter, xstrview Type, uint32 iSender, uint32 iWindow, uint32 iMaxPacket, xbytesview Fields );
参数说明
xsshwriter* pWriter写入器
xstrview Type类型
uint32 iSender发件人通道号
uint32 iWindow窗口大小
uint32 iMaxPacketMaxPacket 参数
xbytesview FieldsFelds 参数
返回:写入或读取可扩展 channel open。

示例已编译验证

/* 写入或读取可扩展 channel open。 */
result = xrtSshChannelOpenWrite(pWriter, Type, iSender, iWindow, iMaxPacket, Fields);

xrtSshChannelOpenRead

XRT_API xsshcode xrtSshChannelOpenRead( xbytesview Payload, xsshchannelopen* pOpen );

;
返回:XRT_API xsshcode xrtSshChannelOpenRead( xbytesview Payload, xsshchannelopen* pOpen );

示例已编译验证

/* XRT_API xsshcode xrtSshChannelOpenRead( xbytesview Payload, xsshchannelopen* pOpen ); */
result = xrtSshChannelOpenRead();

xrtSshChannelOpenConfirmationWrite

写入或读取带类型专用字段的 channel open confirmation。

xsshcode xrtSshChannelOpenConfirmationWrite( xsshwriter* pWriter, uint32 iRecipient, uint32 iSender, uint32 iWindow, uint32 iMaxPacket, xbytesview Fields );
参数说明
xsshwriter* pWriter写入器
uint32 iRecipient收件人通道号
uint32 iSender发件人通道号
uint32 iWindow窗口大小
uint32 iMaxPacketMaxPacket 参数
xbytesview FieldsFelds 参数
返回:写入或读取带类型专用字段的 channel open confirmation。

示例已编译验证

/* 写入或读取带类型专用字段的 channel open confirmation。 */
result = xrtSshChannelOpenConfirmationWrite(pWriter, iRecipient, iSender, iWindow, iMaxPacket, Fields);

xrtSshChannelOpenConfirmationRead

XRT_API xsshcode xrtSshChannelOpenConfirmationRead( xbytesview Payload, xsshchannelconfirmation* pConfirmation );

;
返回:XRT_API xsshcode xrtSshChannelOpenConfirmationRead( xbytesview Payload, xsshchannelconfirmation* pConfirmation );

示例已编译验证

/* XRT_API xsshcode xrtSshChannelOpenConfirmationRead( xbytesview Payload, xsshchannelconfirmation* pConfirmation ); */
result = xrtSshChannelOpenConfirmationRead();

xrtSshChannelOpenFailureWrite

写入或读取 channel open failure。

xsshcode xrtSshChannelOpenFailureWrite( xsshwriter* pWriter, uint32 iRecipient, uint32 iReason, xstrview Description, xstrview Language );
参数说明
xsshwriter* pWriter写入器
uint32 iRecipient收件人通道号
uint32 iReason原因文本
xstrview Description描述文本
xstrview LanguageLanguage 参数
返回:写入或读取 channel open failure。

示例已编译验证

/* 写入或读取 channel open failure。 */
result = xrtSshChannelOpenFailureWrite(pWriter, iRecipient, iReason, Description, Language);

xrtSshChannelOpenFailureRead

XRT_API xsshcode xrtSshChannelOpenFailureRead( xbytesview Payload, xsshchannelopenfailure* pFailure );

;
返回:XRT_API xsshcode xrtSshChannelOpenFailureRead( xbytesview Payload, xsshchannelopenfailure* pFailure );

示例已编译验证

/* XRT_API xsshcode xrtSshChannelOpenFailureRead( xbytesview Payload, xsshchannelopenfailure* pFailure ); */
result = xrtSshChannelOpenFailureRead();

xrtSshChannelWindowAdjustWrite

写入或读取 channel window adjust。

xsshcode xrtSshChannelWindowAdjustWrite( xsshwriter* pWriter, uint32 iRecipient, uint32 iBytes );
参数说明
xsshwriter* pWriter写入器
uint32 iRecipient收件人通道号
uint32 iBytes字节数
返回:写入或读取 channel window adjust。

示例已编译验证

/* 写入或读取 channel window adjust。 */
result = xrtSshChannelWindowAdjustWrite(pWriter, iRecipient, iBytes);

xrtSshChannelWindowAdjustRead

XRT_API xsshcode xrtSshChannelWindowAdjustRead( xbytesview Payload, xsshchanneladjust* pAdjust );

;
返回:XRT_API xsshcode xrtSshChannelWindowAdjustRead( xbytesview Payload, xsshchanneladjust* pAdjust );

示例已编译验证

/* XRT_API xsshcode xrtSshChannelWindowAdjustRead( xbytesview Payload, xsshchanneladjust* pAdjust ); */
result = xrtSshChannelWindowAdjustRead();

xrtSshChannelDataWrite

写入或读取普通 channel data。

xsshcode xrtSshChannelDataWrite( xsshwriter* pWriter, uint32 iRecipient, xbytesview Data );
参数说明
xsshwriter* pWriter写入器
uint32 iRecipient收件人通道号
xbytesview Data数据内容
返回:写入或读取普通 channel data。

示例已编译验证

/* 写入或读取普通 channel data。 */
result = xrtSshChannelDataWrite(pWriter, iRecipient, Data);

xrtSshChannelDataRead

XRT_API xsshcode xrtSshChannelDataRead( xbytesview Payload, xsshchanneldata* pData );

;
返回:XRT_API xsshcode xrtSshChannelDataRead( xbytesview Payload, xsshchanneldata* pData );

示例已编译验证

/* XRT_API xsshcode xrtSshChannelDataRead( xbytesview Payload, xsshchanneldata* pData ); */
result = xrtSshChannelDataRead();

xrtSshChannelExtendedDataWrite

写入或读取带类型码的 channel extended data。

xsshcode xrtSshChannelExtendedDataWrite( xsshwriter* pWriter, uint32 iRecipient, uint32 iType, xbytesview Data );
参数说明
xsshwriter* pWriter写入器
uint32 iRecipient收件人通道号
uint32 iType类型
xbytesview Data数据内容
返回:写入或读取带类型码的 channel extended data。

示例已编译验证

/* 写入或读取带类型码的 channel extended data。 */
result = xrtSshChannelExtendedDataWrite(pWriter, iRecipient, iType, Data);

xrtSshChannelExtendedDataRead

XRT_API xsshcode xrtSshChannelExtendedDataRead( xbytesview Payload, xsshchannelextendeddata* pData );

;
返回:XRT_API xsshcode xrtSshChannelExtendedDataRead( xbytesview Payload, xsshchannelextendeddata* pData );

示例已编译验证

/* XRT_API xsshcode xrtSshChannelExtendedDataRead( xbytesview Payload, xsshchannelextendeddata* pData ); */
result = xrtSshChannelExtendedDataRead();

xrtSshChannelEofWrite

写入或严格读取 channel EOF。

xsshcode xrtSshChannelEofWrite( xsshwriter* pWriter, uint32 iRecipient );
参数说明
xsshwriter* pWriter写入器
uint32 iRecipient收件人通道号
返回:写入或严格读取 channel EOF。

示例已编译验证

/* 写入或严格读取 channel EOF。 */
result = xrtSshChannelEofWrite(pWriter, iRecipient);

xrtSshChannelEofRead

XRT_API xsshcode xrtSshChannelEofRead( xbytesview Payload, uint32* pRecipient );

;
返回:XRT_API xsshcode xrtSshChannelEofRead( xbytesview Payload, uint32* pRecipient );

示例已编译验证

/* XRT_API xsshcode xrtSshChannelEofRead( xbytesview Payload, uint32* pRecipient ); */
result = xrtSshChannelEofRead();

xrtSshChannelCloseWrite

写入或严格读取 channel close。

xsshcode xrtSshChannelCloseWrite( xsshwriter* pWriter, uint32 iRecipient );
参数说明
xsshwriter* pWriter写入器
uint32 iRecipient收件人通道号
返回:写入或严格读取 channel close。

示例已编译验证

/* 写入或严格读取 channel close。 */
result = xrtSshChannelCloseWrite(pWriter, iRecipient);

xrtSshChannelCloseRead

XRT_API xsshcode xrtSshChannelCloseRead( xbytesview Payload, uint32* pRecipient );

;
返回:XRT_API xsshcode xrtSshChannelCloseRead( xbytesview Payload, uint32* pRecipient );

示例已编译验证

/* XRT_API xsshcode xrtSshChannelCloseRead( xbytesview Payload, uint32* pRecipient ); */
result = xrtSshChannelCloseRead();

xrtSshChannelRequestWrite

写入或读取保留未知专用字段的 channel request。

xsshcode xrtSshChannelRequestWrite( xsshwriter* pWriter, uint32 iRecipient, xstrview Type, bool bWantReply, xbytesview Fields );
参数说明
xsshwriter* pWriter写入器
uint32 iRecipient收件人通道号
xstrview Type类型
bool bWantReplybWantRely 参数
xbytesview FieldsFelds 参数
返回:写入或读取保留未知专用字段的 channel request。

示例已编译验证

/* 写入或读取保留未知专用字段的 channel request。 */
result = xrtSshChannelRequestWrite(pWriter, iRecipient, Type, bWantReply, Fields);

xrtSshChannelRequestRead

XRT_API xsshcode xrtSshChannelRequestRead( xbytesview Payload, xsshchannelrequest* pRequest );

;
返回:XRT_API xsshcode xrtSshChannelRequestRead( xbytesview Payload, xsshchannelrequest* pRequest );

示例已编译验证

/* XRT_API xsshcode xrtSshChannelRequestRead( xbytesview Payload, xsshchannelrequest* pRequest ); */
result = xrtSshChannelRequestRead();

xrtSshChannelSuccessWrite

写入或严格读取 channel request success。

xsshcode xrtSshChannelSuccessWrite( xsshwriter* pWriter, uint32 iRecipient );
参数说明
xsshwriter* pWriter写入器
uint32 iRecipient收件人通道号
返回:写入或严格读取 channel request success。

示例已编译验证

/* 写入或严格读取 channel request success。 */
result = xrtSshChannelSuccessWrite(pWriter, iRecipient);

xrtSshChannelSuccessRead

XRT_API xsshcode xrtSshChannelSuccessRead( xbytesview Payload, uint32* pRecipient );

;
返回:XRT_API xsshcode xrtSshChannelSuccessRead( xbytesview Payload, uint32* pRecipient );

示例已编译验证

/* XRT_API xsshcode xrtSshChannelSuccessRead( xbytesview Payload, uint32* pRecipient ); */
result = xrtSshChannelSuccessRead();

xrtSshChannelFailureWrite

写入或严格读取 channel request failure。

xsshcode xrtSshChannelFailureWrite( xsshwriter* pWriter, uint32 iRecipient );
参数说明
xsshwriter* pWriter写入器
uint32 iRecipient收件人通道号
返回:写入或严格读取 channel request failure。

示例已编译验证

/* 写入或严格读取 channel request failure。 */
result = xrtSshChannelFailureWrite(pWriter, iRecipient);

xrtSshChannelFailureRead

XRT_API xsshcode xrtSshChannelFailureRead( xbytesview Payload, uint32* pRecipient );

;
返回:XRT_API xsshcode xrtSshChannelFailureRead( xbytesview Payload, uint32* pRecipient );

示例已编译验证

/* XRT_API xsshcode xrtSshChannelFailureRead( xbytesview Payload, uint32* pRecipient ); */
result = xrtSshChannelFailureRead();