OutSystems Forge 日本語データベース

PusherWebSockets

※Forge全件データの日本語検索サービスをご利用になりたい場合は、こちらまでお問合せください。

Forge英文サイト

2016-08-23 1.0.1 Remco Dekkinga 9.1.301.0 All All Components
PusherWebSocketsはPusherのwebsocket APIの基本的な機能を持つ拡張コンポーネント。 サーバーから接続されているすべてのクライアントにメッセージを送信できます。 クライアントでは、メッセージはOnNotifyアクションで受信されます。つまり、メッセージの周りに独自のクライアント機能を構築できます。 メッセージをアラートまたはフィードバックメッセージブロックに表示することができます。 メッセージの値に基づいて1つまたは複数のアクションをトリガーすることもできます(たとえば、画面の一部をリフレッシュしたり、別のページやログアウトにリダイレクトするなど)。
プッシャーWebSockets PusherWebSocketsはPusherのwebsocket APIの基本的な機能を持つ拡張コンポーネント。 サーバーから接続されているすべてのクライアントにメッセージを送信できます。 クライアントでは、メッセージはOnNotifyアクションで受信されます。つまり、メッセージの周りに独自のクライアント機能を構築できます。 メッセージをアラートまたはフィードバックメッセージブロックに表示することができます。 メッセージの値に基づいて1つまたは複数のアクションをトリガーすることもできます(たとえば、画面の一部をリフレッシュしたり、別のページやログアウトにリダイレクトするなど)。 PusherWebSocketsの使い方: 1つのWebブロック、PusherClientがあります.PusherClientは、Pusher通知アクションを実装するページ/ Webブロックに追加する必要があります。 1つのアクション、PusherServerがあります.PusherServerは、すべてのクライアントにメッセージをプッシュするときに呼び出される必要があります。 1つのサイトプロパティ:PusherEnableLoggingがあります。これは、ブラウザーコンソールへのPusherロギングを有効または無効にするように設定する必要があります。 すべての機能を有効にするには、アカウントを取得する必要があります(アカウントも無料です)。最初のアプリケーションをセットアップし、PusherClient WebblockおよびPusherServerアクションの必須入力パラメータを入力します。 Remco Dekkinga

[Overview]
PusherWebSockets is an extension with a basic implementation of the websocket API from Pusher. You can send a message from a server to all connected clients. On the clients the message will be received in an OnNotify action, which means that you can build your own client-functionality around the message. You can show the message in an alert or feedback message block. You can also trigger one or more actions based on the value of message (for instance refresh a (part of a) screen, redirect to another page or logout).
[Detail]
Pusher WebSockets PusherWebSockets is an extension with a basic implementation of the websocket API from Pusher. You can send a message from a server to all connected clients. On the clients the message will be received in an OnNotify action, which means that you can build your own client-functionality around the message. You can show the message in an alert or feedback message block. You can also trigger one or more actions based on the value of message (for instance refresh a (part of a) screen, redirect to another page or logout). How to use PusherWebSockets: There is one webblock: PusherClient, which should be added to the page/webblock where you want to implement the Pusher notification actions. There is one action: PusherServer, which should be called when you want to push a message to all the clients. There is one site-property: PusherEnableLogging, which should be set to enable/disable the Pusher logging to the browsers console. In order to get everything working, you need to get an account (they also have a free account), setup your first application and fill in the mandatory input parameteres of the PusherClient webblock and PusherServer action. If you want to help to improve this component, please send me a message. Kind regards, Remco Dekkinga
戻る