package
1.0.0
Repository: https://github.com/aptpod/iscp-go.git
Documentation: pkg.go.dev

# Functions

MustParseDataFilterは、DataFilterの文字列表現からDataFilterを生成します。 パースに失敗した場合はpanicします。.
MustParseDataIDは、DataIDの文字列表現からDataIDを生成します。 パースに失敗した場合はpanicします。.
NewDownstreamFilterAllForは、指定したノードが送信するすべてのデータを取得するフィルタです。.
ParseDataFilterは、DataFilterの文字列表現からDataFilterを生成します。.
ParseDataIDは、DataIDの文字列表現からDataIDを生成します。.

# Constants

信頼性のあるトランスポートを利用する低信頼.
高信頼.
低信頼.
ACKの返却までに時間がかかりすぎて、送信側よりネットワークが切断されたことを表します。.
認証や認可の処理に失敗したことを表します。.
妥当な時間までに、通信の開始シーケンスが完了しなかったことを表します。.
要求されたQoSをサポートしていないことを表します。.
ノードとブローカーのバージョンに互換性が無いことを表します。.
データフィルタが不正であることを表します。.
データIDが不正であることを表します。.
データIDエイリアスが不正であることを表します。.
ペイロードの形式が不正であることを表します。.
不正な形式のメッセージを受信したことを表します。.
データIDエイリアス値の数が上限に達し、データIDエイリアス値を新たに割り当てることができないことを表します。.
アップストリームエイリアス値の数が上限に達し、アップストリームエイリアス値を新たに割り当てることができないことを表します。.
すでに永続化されているセッションの生成元ノードと、新たに永続化しようとするノードが異なることを表します。.
接続時にノードIDを指定していないことを表します。.
正常にコネクションが閉じられたことを表します。.
Pingのタイムアウトが発生したことを表します。.
処理が失敗したことを表します。.
プロトコル違反を表します。.
レートリミットに到達したことを表します。.
再開しようとしたストリームが接続中であることを表します。.
セッションがすでに閉じられていることを表します。.
セッションを閉じることができないことを表します。.
セッションが見つからなかったことを表します。.
受信者が保持している情報の中に、対象のストリームが含まれないことを表します。.
処理が正常に成功したことを表します。.
メッセージのサイズが大きすぎることを表します。.
ACKの返却間隔が長すぎることを表します。.
有効期限が長すぎることを表します。.
Pingタイムアウト値が大きすぎることを表します。.
データフィルタが多すぎることを表します。.
データIDエイリアスが多すぎることを表します。.
ダウンストリームフィルタが多すぎることを表します。.
ストリームが多すぎることを表します。.
Ping間隔が短すぎることを表します。.
Pingタイムアウトが短すぎることを表します。.
種類を規定しないエラーです。予期しないエラーが発生した場合に使用されます。.

# Structs

BaseTimeは、基準時刻です。 あるセッションの基準となる時刻です。.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DataIDは、データポイントの、名称とデータ型を表す識別子です。 おもに、ブローカーおよびノードでのデータの意味と型の特定、 ダウンストリームフィルタにて指定された受信条件に各時系列データポイントが合致するかどうかの判定、などに使用されます。 特殊文字 `/` はセパレータです。名称/型の階層構造を表現することができます。.
DataPointは、データポイントです。 データポイントは、経過時間を付与されたバイナリデータです。 バイナリデータのことをペイロードと呼びます。.
DataPointGroupは、ストリームチャンクの中のデータポイントをデータIDごとにまとめた集合です。.
No description provided by the author
No description provided by the author
DownstreamAbnormalCloseは、あるダウンストリームが異常切断したことを知らせるメタデータです。.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DownstreamChunkResultは ストリームチャンク(下り用)で送信されたデータポイントの処理結果です。.
DownstreamChunkResultExtensionFieldsは、ストリームチャンク(下り用)で送信されたデータポイントの処理結果に含まれる拡張フィールドです。.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DownstreamFilterは、ダウンストリームフィルタです。 ダウンストリームフィルタはダウンストリームにおいてブローカーからノードに送信するデータを特定します。.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DownstreamNormalCloseは、あるダウンストリームが正常切断したことを知らせるメタデータです。.
DownstreamOpenは、あるダウンストリームが開いたことを知らせるメタデータです。.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DownstreamResumeは、あるダウンストリームが再開したことを知らせるメタデータです。.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
StreamChunkは、ストリームを時間で区切ったデータポイントのまとまりです。 iSCP におけるデータ伝送は、このチャンク単位で行われます。.
UpstreamAbnormalCloseは、あるアップストリームが異常切断したことを知らせるメタデータです。.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UpstreamChunkResultは、ストリームチャンク(上り用)で送信されたデータポイントの処理結果です。.
UpstreamChunkResultExtensionFieldsは、ストリームチャンク(上り用)の処理結果に含まれる拡張フィールドです。.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UpstreamInfoは、アップストリーム情報です。.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UpstreamNormalCloseは、あるアップストリームが正常切断したことを知らせるメタデータです。.
UpstreamOpenは、あるアップストリームが開いたことを知らせるメタデータです。.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UpstreamResumeは、あるアップストリームが再開したことを知らせるメタデータです。.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

DataIDOrAliasは、データID、またはデータIDのエイリアスです。.
Message は、 iSCP で使用されるメッセージを表すインターフェースです。 */.
Metadataはメタデータです。 メタデータは、iSCPによって転送されるデータに関するメタデータです。.
Request は、 iSCP で使用されるリクエストメッセージを表すインターフェースです。 */.
SendableMetadataは、アップストリームメタデータとして送信可能なメタデータです。.
Stream は、 iSCP で使用されるストリームメッセージを表すインターフェースです。 */.
UpstreamOrAliasは、アップストリーム情報、またはアップストリームエイリアスです。.

# Type aliases

DataIDAliasは、データIDのエイリアスです。.
DEPRECATED: use DataPointGroup instead.
QoS(Quality of Service)は、トランスポートのコネクションが切断された場合のデータの取扱を規定します。.
RequestIDは、リクエストIDです。 リクエストメッセージを識別するために使用します。.
ResultCode は、要求の処理結果を表す識別コードです。 */.
UpstreamAliasは、アップストリームエイリアスです。.
DEPRECATED: 代わりにDataPointGroupを使用して下さい。.