From e25bd18816868fe4b72e0062b6082611a4385c59 Mon Sep 17 00:00:00 2001 From: eutarass Date: Thu, 13 Aug 2009 20:23:14 +0000 Subject: Bug 284963: Add a third parameter to the streams service “created” event --- docs/TCF Service - Streams.html | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/TCF Service - Streams.html b/docs/TCF Service - Streams.html index 6c7879b8e..3d166f869 100644 --- a/docs/TCF Service - Streams.html +++ b/docs/TCF Service - Streams.html @@ -42,6 +42,10 @@ 0.2 2009-05-18 Added connect command + + 0.3 + 2009-08-13 + Added "context ID" argument in "created" event

Overview

@@ -213,9 +217,27 @@ R • <token><error report> • Clients can change their subscription with subscribe and unsubscribe commands.


-E • Streams • created • <string: stream type><string: stream ID> •
+E • Streams • created • <string: stream type><string: stream ID><string: context ID> •
+
+

+Sent when a new stream is created. +"stream type" - source type of the stream. +"stream ID" - ID of the stream. +"context ID" - a context ID that is associated with the stream, or null. +

+

+Exact meaning of the context ID depends on stream type. +Stream types and context IDs are defined by services that use Streams service to transmit data. +

+ +

 E • Streams • disposed • <string: stream type><string: stream ID>
+

+Sent when a stream is disposed. +"stream type" - source type of the stream. +"stream ID" - ID of the stream. +

API

@@ -238,11 +260,14 @@ E • Streams • disposed • <string: stream type> &bull interface StreamsListener { /** - * Called when a new stream is created. + * Called when a new stream is created. * @param stream_type - source type of the stream. * @param stream_id - ID of the stream. + * @param context_id - a context ID that is associated with the stream, or null. + * Exact meaning of the context ID depends on stream type. + * Stream types and context IDs are defined by services that use Streams service to transmit data. */ - void created(String stream_type, String stream_id); + void created(String stream_type, String stream_id, String context_id); /** * Called when a stream is disposed. -- cgit v1.2.3