Maximum flexibility with Publish-Subscribe, Peer-to-Peer and Remote-Call choices.
Request for Comments: not an RFC Obsoletes: protocol.txt Category: Standards Track Bayeux Protocol -- Bayeux 1.0draft1 Status of this Memo This document specifies a protocol for the Internet community, and requests discussion and suggestions for improvement. This memo is written in the style and spirit of an IETF RFC but is not, as of yet, an official IETF RFC. Distribution of this memo is unli
ãã¦ãCometã®å®è£ ã¨ãããã¨ã§å¤§æ³¨ç®ã®æè¡ãCometdã«é¢ãã解説ãï¼åç®ãè¿ãã¾ããã ä»æ¥ã®ã¡ãã¥ã¼ã¯ Cometdã使ç¨ããæ å ±å ±æåãµã¤ãã®ä½ææ¹æ³ ããã¾ã§ã®ã¾ã¨ãããªãã¡ã¬ã³ã¹ Cometdã®å é¨æ§é ãç°¡åã«è§£èª¬ ã¨è¨ã£ãæãã§é²ãã¦ããããã¨æãã¾ãã Cometdã使ç¨ããæ å ±å ±æåãµã¤ãã®ä½ææ¹æ³ ååã¯ãCometdã使ç¨ããæ å ±é ä¿¡åãµã¤ãã®ä½æãè¡ãã¾ããã ãã¤ã³ãã¨ãã¦ã¯ ãã£ãã«(Channel)ã®ä½æ Channel.publish(Object data, Client from)ã¡ã½ããã«ãããã£ãã«ã¸ã®ãã¼ã¿é ä¿¡ JavaScripté¢æ°cometd.subscribe()ã«ãããã£ãã«ã®è³¼èª ã§ãããã ãã®ä¸ã§ãéè¦ã ã£ãã®ã¯Channel.publishã«ãããã£ãã«ã¸ã®ãã¼ã¿é ä¿¡ã publishã¡ã½ããã®ç¬¬ä¸å¼æ°ã«Javaã®ãªãã¸ã§ã¯ã
Webã¢ããªã±ã¼ã·ã§ã³ã§ã¯ãµã¼ãããã®ãã¼ã¿é ä¿¡ãã¯ã©ã¤ã¢ã³ãå´ã§ãªã¢ã«ã¿ã¤ã ã«åä¿¡ããæ¹æ³ãå¿ è¦ã¨ãªãã±ã¼ã¹ãããã¾ããå¾æ¥ããã¯ç»é¢ã®ãªãã¼ãããã¼ãªã³ã°çã«ããå®è£ ããªããã¦ãã¾ããããããããããªããªã¢ã«ã¿ã¤ã æ§ãå®ç¾ããããã«ãCometï¼ã³ã¡ããï¼ãã¨å¼ã°ããHTTPã»ãã·ã§ã³ãæ¥ç¶ãç¶ãã¦ãçä¼¼çã«ãµã¼ãã»ããã·ã¥ï¼ãµã¼ãé ä¿¡ï¼ãå®è£ ããææ³ãAjaxã¨ã¨ãã«å¤ã使ãããããã«ãªã£ã¦ãã¾ããããããCurlã§å®è£ ããããã®æ¹æ³ãè¨è¼ãã¦ããããã¨æãã¾ãã å½ãµã³ãã«ã§ã¯ãBAYEUXãããã³ã«ï¼1.0Draft1ï¼ã¨ããJSONãã©ã¼ãããã§å®ç¾©ããããããã³ã«ã®å®è£ ã§ããcometdã®ã¯ã©ã¤ã¢ã³ããµã¤ãã©ã¤ãã©ãªãç¨ãã¦ããµã¼ãã»ããã·ã¥ãå®ç¾ã§ããããã«ãã¦ãã¾ããããã§ãJavaã®å®è£ ã®ä¸ã¤ã§ããJettyã«æè¼ããã¦ããcometdãå©ç¨ãã¦ããµã³ãã«ã説æãã¦ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}