IntdashClientDelegate
public protocol IntdashClientDelegate : NSObjectProtocol
IntdashClient に追加するDelegateを表すプロトコル。
-
サーバーに接続したときに呼び出されるコールバックです。
Declaration
Swift
func intdashClientDidConnect(_ client: IntdashClient)Parameters
clientクライアント
-
サーバーから切断されたときに呼び出されるコールバックです。
Declaration
Swift
func intdashClientDidDisconnect(_ client: IntdashClient)Parameters
clientクライアント
-
クライアントの内部でエラーが発生したときに呼び出されるコールバックです。
Declaration
Swift
func intdashClient(_ client: IntdashClient, didFailWithError error: Error?)Parameters
clientクライアント
errorエラー情報
-
サーバーに再接続したときに呼び出されるコールバックです。 再接続時には、アップストリーム、ダウンストリームそれぞれの Spec が自動的に送信され、その結果が本コールバックで返されます。
Declaration
Swift
func intdashClient(_ client: IntdashClient, didRetryToRequestSpecs success: Bool)Parameters
clientクライアント
success再接続の結果
IntdashClientDelegate Protocol Reference