Difference between revisions of "XMPP Core"

From JaWiki (Jabber/XMPP wiki)
Jump to: navigation, search
(ibuku kkfxm for 43% snipco3)
m
 
(55 intermediate revisions by 23 users not shown)
Line 117: Line 117:
 
Хотя нет необходимости передавать XML поток  через [TCP] соединение (например, две сущности могут подключаться друг к другу через другой механизм такой как [HTTP] туннелирование), данная спецификация определяет привязку XMPP только к TCP. В контексте клиент-серверного взаимодействия, сервер ДОЛЖЕН разрешать клиенту использование одного TCP соединения для отправки XML стансов от клиента к серверу и от сервера к клиенту. При взаимодействии сервер-сервер сервер ДОЛЖЕН использовать одно TCP соединение для стансов, посылаемых сервером пиру и другое TCP соединение (инициированное пиром) для стансов от пира к серверу, всего два TCP соединения.
 
Хотя нет необходимости передавать XML поток  через [TCP] соединение (например, две сущности могут подключаться друг к другу через другой механизм такой как [HTTP] туннелирование), данная спецификация определяет привязку XMPP только к TCP. В контексте клиент-серверного взаимодействия, сервер ДОЛЖЕН разрешать клиенту использование одного TCP соединения для отправки XML стансов от клиента к серверу и от сервера к клиенту. При взаимодействии сервер-сервер сервер ДОЛЖЕН использовать одно TCP соединение для стансов, посылаемых сервером пиру и другое TCP соединение (инициированное пиром) для стансов от пира к серверу, всего два TCP соединения.
  
b21hcyIgdGFyZ2V0PSJfYmxhbmsiPnd3dy5mYWNlYm9vay5jb20vR2VvcmdlLU0tVGhvbWFzPC9h <a href=http://www.michaelkors-bags.us.com/>michael kors bags</a> Since the 1990s, war in the Ogaden region of Ethiopia has claimed thousands of lives. The conflict between the government of Ethiopia and the insurgent Ogaden National Liberation Front has impoverished the communities of Ethiopia s Somali Regional State, swollen the refugee population in Kenya, and added to insecurity in the Somali territories of the Horn of Africa. Published by the Rift Valley Institute, author Tobias Hagmann analyses the evolution of the conflict, the changing balance of forces, and prospects for peace. u <a href=http://www.coachoutletstores.net.co/>Coah Handbags</a>
+
=== Безопасность потока ===
According to the Home Office there have been 39,000 attempts to cross the Channel by migrants in the year to April 2015, more than twice the 18,000 attempts detected in the 12 months to April 2014. <a href=http://www.airmax-90nike.us.com/>nike factory store</a> But Rep. Jim Ott (R-Mequon), the other co-chair of the committee, said it was proper for lawmakers to oversee how elections are run.
+
That project is still waiting for funds but Attivor says it would have an astronomical effect on the economy. <a href=http://www.oakleysunglasses.in.net/>oakley sunglasses outlet</a> Mary Gentile doesn t miss the back pain. f <a href=http://www.outletmoncler.us.com/>moncler online outlet</a>
+
But it was the visitors who grabbed a sixth minute lead against the run of play. Owen was adjudged to have pushed Phil Caley inside the area and Wilson converted from the spot. <a href=http://www.uggbootsblackfriday.us.com/>Uggs Outlet</a> 1 CZK
+
z No short policy such as this can spell out all possible instances of material or behavior that we might deem to be a violation of our publishing standards, and we reserve the right to remove any material posted to the site. <a href=http://www.outletmoncler.us.com/>moncler online outlet</a> "I will choose indefinite prison" <a href=http://www.louisvuittonoutlet.me/>Cheap Louis Vuitton</a>
+
l did try once and we filmed it, the examiner was the most miserable bloke l have ever met. l forgot to take the handbrake off which he reminded me! <a href=http://www.oakleysunglasses.nom.co/>http://www.oakleysunglasses.nom.co</a> We are now in the season of The Great Escape. http://www.outletmichael-kors.us.com
+
However, he wrote in one of his recent columns for trade magazine Campaign Middle East that while mobile accounts for 45 percent of media time across the industry, it generates just 2 percent of advertising revenue. In terms of monetising mobile, nobody has been able to crack it. And when I ask Saber how SMG will do it, he is stumped: 鈥淢obile lags behind in advertising revenue. It is a major challenge.鈥?<a href=http://www.cheapuggssale.us.org/>Uggs Outlet</a> Transurban applies steadily increasing tolls to steadily increasing traffic on a network of urban toll roads that it steadily upgrades. Itextended that network last year with the $7 billion purchase of the bulk of Brisbane's tollway system and the acquisition of Sydney's Cross City Tunnel.It is a city-centric company,and the housing boom in Australia's two biggest cities, whichlow interest rates have been feeding, hasbeen a key revenue and profit driver. z <a href=http://www.airmax-90nike.us.com/>cheap nike sneakers</a>
+
The second half followed a similar pattern and the game was all over as a contest within five minutes of the restart when Ryan got the goal his performance deserved; finishing off the fine work of Holmes and Mike Layfield. <a href=http://www.michaelkorsoutletsonlineco.com.co/>Michael Kors Outlet</a> Despite being home to some ofworld's greatest attractions, including like theKremlin and Bolshoi Theater, Moscow has not attracted huge numbers offoreign tourists.
+
Verizon IndyCar Series <a href=http://www.rosherunshoes.com.co/>nike roshe run</a> Focus on more than money
+
Weiss became a member of the Spooner Musky Club while a DNR pilot in 1980. For much of the next two decades, he paid for Poquette's club membership. <a href=http://www.canadagooseoutlet.net.co/>http://www.canadagooseoutlet.net.co</a> Angie remarked that the schools should think of running summer vacation from July 1 to Oct. 1 to cut out the sometimes overly chilly start to summer and enjoy the (at times) spectacular weather of September.
+
FRI 9:00am - 6:00pm <a href=http://www.canadagooseoutlet.site/>canada goose outlet</a> Increasing food insecurity in Shan
+
e Moors manager Jason Ainsley said; 鈥淲e are really looking forward to the game against a very good Salford team, who after the game against us at the Brewery Field early in the season will know that they're going to be in for a real tough test. <a href=http://www.boots-uggs.us.com/>Uggs Outlet</a> I'm a vocal cord specialist, he said. I specialize in airway and swallowing disorders.
+
One-minute chat about summer. <a href=http://www.oakleyonlinesunglasses.us.com/>oakley sunglasses outlet</a> Contact Daniel Bice at (414) 224-2135 or . Follow him on Twitter @ or on Facebook at . w <a href=http://www.oakleysunglasses.in.net/>oakley sunglasses store</a>
+
鈥淪adly, many employers fail to act to protect their workers from the consequences of exposure to asbestos, despite knowing how dangerous it is, and we hope that by issuing court proceedings we can secure justice for Colin and get the answers he so desperately needs.鈥?<a href=http://www.coachoutletstoreonline.me/>Coach Factory </a> Wild Threats
+
a This included sending patients to other hospitals in the district, including Sutherland Hospital, she said. <a href=http://www.rosherunshoes2015.us.com/>Nike Roshe Run Shoes</a> Last week, it was the Wensleydale Show which featured. The guests photographed included a mayoress, a vicar, an acclaimed plastic surgeon, a colonel, a newspaper editor, a lord of the manor and big bike ride promoter Gary Verity. y
+
Yet, last year, an official survey found that one in eight patients in the North-East and North Yorkshire are unable to book a slot at a surgery when they need one. <a href=http://www.canadagooseoutlet.net.co/>canada goose jackets</a> and blew the damn thing up." <a href=http://www.oakleysunglasses.nom.co/>oakley sunglasses outlet</a>
+
In March, Google began to aggregate all the information it acquires about its users who are logged in to Google services into a single, unified pool of data. <a href=http://www.oakleyglasses.us.org/>http://www.oakleyglasses.us.org</a> Pandora internet radio has an estimated 80 million active users, but less than 5 million are understood to be on paid subscriptions.Apple has an estimated 12 million users, all on free trial, since it launched on June 30. t <a href=http://www.michaelkors-bags.us.com/>Michael Kors Handbags</a>
+
However, last December she was rushed to hospital in agony, as the tumour had perforated her bowel, requiring emergency surgery. This major setback reduced her predicted survival time, she recalls. <a href=http://www.michaelkorsoutlet.com.co/>http://www.michaelkorsoutlet.com.co</a> The claim that Enbridge made a "legislative end run" around Dane County's permitting process is untrue. Enbridge was not involved in drafting of the insurance provision nor did the company support or advocate for it as part of the state budget.
+
You may not post copyrighted material from another publication. (Link to it instead, using a headline or very brief excerpt.) <a href=http://www.michaelkorsbags.nom.co/>Michael Kors Outlet</a> nn/ds/cb g <a href=http://www.rosherunshoes2015.us.com/>nike roshe run</a>
+
The Grassington club won 15-12 at home to Blaydon, who will be anxious to end a poor run which has brought one win in the last five games. <a href=http://www.ArizonaCardinalsJersey.us.com/>Cheap MLB Jerseys</a> "What he'd done, ain't no way right," Adrian Taylor told CNN affiliate KTVT. "But to shoot an unarmed man? You're a police officer, you're trained to take down men with your hands. You have your Tasers, you have your clubs, whatever there is. Unarmed, a 19-year-old -- and you shoot to kill?"
+
  
 
=== Атрибуты потока ===
 
=== Атрибуты потока ===
  
And at the moment, that list doesn't include Woods. The greatest player of his generation, at the moment, is an afterthought. <a href=http://www.rosherunshoes2015.us.com/>nike run shoes</a> Stephens raced to a 3-0 lead within 10 minutes by taking 15 of the first 21 points and never looked back. w <a href=http://www.cheapuggssale.us.org/>Ugg Outlet Online</a>
+
==== Поддержка версий ====
It will be funded by a combination of council reserves and internal borrowing and receipts from the sale of existing buildings will be set aside to fund future priority capital investment. <a href=http://www.oakleyonlinesunglasses.us.com/>oakley sunglasses outlet</a> The 2015 North Sound Golf Club Summer Corporate League wrapped up Friday night and PwC edged out defending champions Appleby to take home the trophy.
+
Hutchison says six of Rotana鈥檚 hotels have received the 鈥榃elcome Chinese鈥?certification issued by the Chinese Tourism Academy, while the group also launched a website in Chinese and opened a global sales office in China in 2011. <a href=http://www.moncler-outlet.com.co/>moncler outlet</a> Displaying an added maturity to her play, Capezio increased her accuracy, kept her cool and was the hammer behind Burlington's second straight WIAA Division 1 state title. Her play earned her the distinction of Journal Sentinel area player of the year. b <a href=http://www.onlinecoachoutlets.us.com/>Coach Outlet</a>
+
"Stamina and trip are the questions," said the Malton handler. <a href=http://www.glassesoakley.us.com/>oakley sunglasses</a> Montee is one of the best ones that ever played the game, Alvarez said. To rank him with my other guys, he's right there with all of them. They're all great players.
+
t The name change will take effect in fall 2016. <a href=http://www.airmax-90nike.us.com/>nike air max</a> They were very upset they didn't get the win for him, they would have loved to have sent him out on a good note. <a href=http://www.moncler-outlet.com.co/>moncler outlet</a>
+
The Northern Rock Foundation supports charities and organisations which change lives across our region. Its role has never been as a fundraiser 鈥?it was set up to distribute money to good causes. <a href=http://www.ugg-bootscheap.us.com/>Cheap Uggs</a> In a still-recovering economy riddled with ups and downs, bullish and bearish market outlooks and contradicting job numbers, businesses are getting creative. Finding new solutions to existing problems isn鈥檛 a novel business practice per se, but innovation has assumed new prominence in the twenty-first century, no matter the industry. As technology evolves and becomes more ubiquitous, it鈥檚 the human brain鈥檚 ability to connect logic and vision, think and feel, left and right, that鈥檚 in high demand. That鈥檚 good news for a place like Madison, where indicators such as the highly educated workforce and vibrant arts scene led the city to an appearance on Richard Florida鈥檚 list of creative class metros is his oft-cited book, The Rise of the Creative Class. And our signature quirk probably doesn鈥檛 hurt, either. http://www.michaelkorsbags.me
+
We're eager to pick up and see where we're at. <a href=http://www.airjordanshoes.me/>Cheap Jordans Shoes</a> Hemlock, for instance, is highly poisonous and closely linked with witchcraft. It doesn't look significantly different from the hedge parsley or cow parsley which grows along roads, ditches, trails, or the edges of fields. j <a href=http://www.michaelkors-bags.us.com/>Michael Kors Outlet</a>
+
Chemical-based: Diethyltouamide (DEET) is probably the most effective chemical repellent available and has a good safety record. Research has shown that a repellent containing approximately 20% DEET will protect the wearer for about 5 hours. It has a good safety record and weaker formulations of 10% or less are safe to use on infants from the age of 2 months. <a href=http://www.bootsuggcheap.us.com/>Ugg Outlet Online</a> Madison - A Dane County judge's ruling striking down many limits on collective bargaining for public workers will likely be appealed quickly and could go straight to a showdown on a divided, but often conservative-leaning state Supreme Court.
+
Other organizations such as , the , the , scouting groups, churches and school-related activities work tirelessly to help promote the value of having values, to put it succinctly. <a href=http://www.louisvuittonbags.nom.co/>Louis Vuitton Outlet</a> Gil noted these fishing boats favored by smugglers have two lower decks.
+
Consistency was the calling card of Ogunbowale, who led DSHA to a 21-4 mark and the Division 1 sectional semifinals. Her scoring average was built on 17 20-point performances. Her season high was 28 points in a regional final victory over Milwaukee King. <a href=http://www.michaelkorsoutlet.com.co/>Michael Kors</a> And some people liked to get married under the gallows!
+
Claiming that she his humbled by the outpour of support her family has received, she further wrote that she has lost her best friend and despite the worldly passing of an incredible man, she undoubtedly knows that heaven gained one stud of an angel. <a href=http://www.louisvuitton-outletonline.us.com/>Louis Vuitton Outlet</a> ___
+
s No doubt all of those who made the period so memorable will pass into history, but what a legacy they all leave, one of love and of great humour. <a href=http://www.michaelkorsoutlet.com.co/>Michael Kors Outlet</a> Elizabeth recalls the positive story of one woman who desperately needed medicine. A German soldier visiting her home was apparently touched by her plight and sent for medication from Berlin.
+
Minorities do suffer prejudice in Australia and that is to be deplored and we must all work together to eliminate it and respect each other and our differences. <a href=http://www.michaelkors-bags.us.com/>Michael Kors</a> We just didn't come to play, Hilliard said. We got caught up in the outside things playing in the Garden, the Big East Tournament and all that. Just anything that any normal basketball player would get caught up in. It was something we had to get past and get better from. h <a href=http://www.louisvuitton-outletonline.us.com/>louis vuitton outlet online</a>
+
Definition? 鈥淕etting on a bit, but still full of energy,鈥?says Daph, and darts off to challenges anew. <a href=http://www.airjordanshoes.me/>air jordan</a> De Pere improved to 25-2 and won its 15th consecutive game, as Brett VandenBergh added 16 points and six assists.
+
k On the final play of practice, wide receiver Brian Hartline got his legs tangled with cornerback Tramon Williams while running a route, tripped and fell. Hartline grabbed his right ankle when he got up and began limping. He was later spotted jogging off the field. <a href=http://www.jacketscanadagoose.us.com/>canada goose jacket</a> I m not going to name them, but there were certainly some of them that spoke in support. a
+
McClaren had been hoping to field Mbemba in yesterday鈥檚 game, but Newcastle鈥檚 attempts to finalise the defender鈥檚 拢8m move from Anderlecht have been thwarted by Football Association bureaucracy. <a href=http://www.coachonlineoutlet.us.org/>Coach Outlet Store Online</a> Started having some chest pain, and it was kind of a burning feeling and it was pretty much intense. And I thought, you know, this doesn t feel right, said Dwain Spradlin, 61. <a href=http://www.louisvuittonoutlet.me/>louis vuitton outlet online</a>
+
However, he says there is no urgent need for further financing unless the gyms plan is successful and more sites are needed.聽聽 <a href=http://www.cheapnfljerseys.site/>nfl jerseys cheap</a> am/jd l <a href=http://www.michaelkorsbags.me/>Michael Kors Handbags</a>
+
PLENTY OF ROOM: The Fabia interior is roomy for the supermini class and the seats are comfy <a href=http://www.outletmichael-kors.us.com/>Michael Kors Handbags</a> Konekt designer Helena Sultan's Pause chaise lounge perches a comfy upholstered seat on brass or chrome legs, in several finishes.
+
Route 30 was closed for several hours while the initial investigation was conducted. <a href=http://www.canadagoosejacketstore.us.com/>canada goose parka</a> ELSEWHERE IN THE WEST y <a href=http://www.boots-uggs.us.com/>Cheap Uggs</a>
+
It says the development will 鈥渃reate an attractive residential development comprising both family and affordable homes which contribute to and enhances the residential character of Stokesley鈥? <a href=http://www.canadagooseoutlet.net.co/>canada goose jackets</a> "These families are being seen," she said.
+
  
 
=== Указание пространства имён ===
 
=== Указание пространства имён ===
Line 179: Line 141:
 
== Использование TLS ==
 
== Использование TLS ==
  
MTsgb24gYSBzdG9yeSBhYm91dCBnYXkgcHJpZGUgZXZlbnQgcGFydGljaXBhbnRzIGJlaW5nIGJ1 <a href=http://www.coachfactoryoutlet.click/>Coach Outlet Online</a> SHARECLOSEBloggerGoogle+Live JournalPlurkStumble UponPREVIOUS ARTICLES. Korea ups border security after landmine attackNEXT ARTICLE91-year-old Aussie charged with importing cocaine into SydneyWrite a CommentType in image codeReceive China Post promosRespond to this email z <a href=http://www.monclerjacketsonline.us.com/>moncler parka</a>
+
== Использование SASL ==
8-126 9-140 <a href=http://www.outletcanadagoose.us.com/>canada goose sale</a> Standards also mandate that companies have respiratory protection plans and provide personal protective equipment when necessary. OSHA cited just two coffee companies last year for not adhering to provisions of that standard.
+
Officer Thomas Zermeno talked about deterring, delaying, detecting and denying criminals access to property. The group asked questions about crime trends, statistics and protection. Police also stressed the importance of contacting them so they can track and combat crimes and criminal activity. <a href=http://www.outletcanadagoose.us.com/>canada goose sale</a> Watching the Milwaukee Brewers chew up all those opposing teams can make a baseball fan hungry, and not just for the post-season. What's good to eat at Miller Park these days, anyway? t <a href=http://www.coachfactoryoutlet.click/>Coach Factory Outlet</a>
+
Les Dixon, now 84, had been in the epic, twice-replayed final against  Town 60 years ago; Bob Thursby was but a bairn in the 1957 team which beat Wycombe Wanderers; Mike Greenwood pitched up in 1958 but won seven England amateur caps thereafter. <a href=http://www.outletmichael-kors.us.com/>www.outletmichael-kors.us.com</a> WISCONSIN LITTLE TEN
+
p MzgyOSBvciA8YSBocmVmPSJtYWlsdG86bWJlYXZlbkB0aGViZWFjb25qb3VybmFsLmNvbSI+bWJl <a href=http://www.moncleroutlet.nom.co/>moncler jackets outlet</a> I head into the surf, paddle for dear life and hoist myself up onto the board. I'm exhilarated when I manage to stay standing all the way to shore on my first wave. <a href=http://www.rosherunshoes.com.co/>Roshe Run</a>
+
A lot of the label artists got their statements from stream royalties and saw they were being screwed. But what they didn't see was that it wasn't so much the stream companies that were screwing them -- but their labels who were taking the lion's share of royalties and leaving the artists only a thin slice. Fully independent artists, however, get everything passed along by the stream companies. (Less anything taken out by the aggregator they use to syndicate their material to the stream-o-sphere; some take a chunk AND charge yearly fees; but at least one charges only a small yearly fee with unlimited uploads; and several charge no up-front but take a slice; artists should explore their options thoroughly before committing!) Tech writers seem to focus on Pandora for some reason -- despite the fact that it's being left well behind by conventional on-demand subscription services in terms of stream quality, and, of course, user-satisfaction. Get over Pandora, tech writers; for some reason you guys thought it was the bee's knees (You all can't think of what to play on your own, perhaps?) -- but it's pretty well a joke to people who know the stream-o-sphere well. (I've subscribed to 7 on-demand services over the last decade, waiting for the bonehead tech writers to finally discover streaming!) Anyhow, yeah, vinyl. I don't think so. I have over 1200 LPs, over 200 singles and 78s, and two mid-high-end or maybe high-mid turntables -- and I do virtually all my listening via stream. I'm eager for all-FLAC lossless streaming -- but my service is all 320 kbps and while not all digital masters are equal to the original masterings, the quality over a good playback rig is far superior to that of most of the vinyl originals. (Some folks simply like the 'familiar/nostalgic' limited fidelity and high noise of vinyl; that's entirely reasonable; personal preference is just that; no one can argue with what you like. Just don't try to tell someone that the actual fidelity is higher -- ie, the signal is more accurate -- because that is most definitely not the case -- and that can be demonstrated by any of the objective test measurement gear we have at our disposal; across the board, vinyl grooved records are far less accurate -- though they may well be more 'satisfying' to some folks. God love 'em.) <a href=http://www.cheapnfljerseys.site/>cheap nfl jerseys</a> Preschool-aged children who are extremely selective about what they eat and dislike even being near certain foods are more likely than others to have underlying anxiety or depression, the study found. But only 3 percent of young children studied were that picky. http://www.louisvuitton-outletonline.us.com
+
Alec Tarter (3.98) football, basketball <a href=http://www.coachoutletstores.net.co/>Coach Factory</a> News_Image_File: Fighting for justice ... Jessica (left) and Lisa (right) Origliasso of The Veronicas address the crowd at a marriage equality rally in Brisbane. g <a href=http://www.uggbootsblackfriday.us.com/>Uggs Outlet</a>
+
Slicing through North  like a knife through stotty, we鈥檙e at Tynemouth in an hour. The bus from Darlington to Tow Law would barely be in the foothills of  in that time. <a href=http://www.coachoutletstores.net.co/>Coah Handbags</a> The program also includes following up with officers who make the referral to let them know a family received services, something Domurat believes will benefit officers who often don't know what happens to families unless they are called back for another emergency.
+
Catch a bird's-eye view of the Third Ward and the city skyline from this rooftop patio during lunch, dinner or weekend brunch. The list of Belgian beers runs deep, and oversize Belgian pancakes have a place of honor on the menu. <a href=http://www.outletcanadagoose.us.com/>canada goose parka</a> After independence in 1975 these measures were no longer implemented, the latrines were not maintained, and residents quickly reverted to more traditional practices. Many older Papua New Guineans remember when the toilets were introduced into their communities, but are still not sure why they were supposed to use them.
+
The Patriots rallied from an 11-point deficit midway through the third quarter with a 14-2 run, capped by a shot by Schultz for a 54-53 lead with 5 minutes 44 seconds left in the fourth. <a href=http://www.louisvuittonoutlet.me/>Louis Vuitton Outlet</a> Andyet...
+
2015-08-09 23:25:01 <a href=http://www.michaelkorsbags.me/>michael kors outlet online</a> House; BBX steers to 拢525 Glendue; hfrs to 拢630 Brandon Hall; pure BA steers to 拢650 Townfoot; hfrs to 拢500 Townfoot; BAX steers to 拢592 Townfoot; hfrs to 拢450 Cooper House; AAX steers to 拢610
+
s Elsewhere in the top flight, Philadelphia鈥檚 Mirza Baig had 4-38 from 11 overs at , but only 25.4 overs were possible in all with the hosts 108-6 at the end, and Ben Popovski and Ian Male shared eight wickets for Boldon CA at Marsden, but with just 132 to chase, and Shashank Singh 38 not out, CA (70-2) were only allowed 10.4 overs of batting by the weather. <a href=http://www.airjordanshoes.net.co/>air jordan shoes</a> Prosser also incurred $258,973 in charges for the recount from the Reinhart Boerner Van Deuren law firm. The lead attorney from that firm who worked on the case, Daniel Kelly, does not have any matters pending before the state Supreme Court.
+
In 1959, the regional government in Bremen refused to grant Grass the Bremen literature prize on the grounds of blasphemy and obscenity, while an attempt was made in 1961 to put the book on the index of Germany's Federal Department for Media Harmful to Young Persons. By 1963, a total of 24 criminal charges had been brought against him, albeit all of them unsuccessfully. In 1965, when Grass gave a speech in the conservative Christian Democrat Union (CDU) stronghold of Cloppenburg in support of future chancellor Willy Brandt's election campaign, the public held up posters calling him a communist and pelted him with eggs and tomatoes so that he needed police protection to finish. <a href=http://www.canadagooseoutlet.net.co/>canada goose parka</a> Lasry and Edens have pledged $150 million toward the new arena and Kohl, the former Bucks owner, has pledged $100 million. z <a href=http://www.coachoutletstores.net.co/>Coach Factory</a>
+
"When he first came back in, I was a bit worried. There was obviously a question mark about how he was, and when he was schooling our horses I was just hoping nothing went wrong. <a href=http://www.oakleysunglasses.in.net/>www.oakleysunglasses.in.net</a> They can take a No. 3 wide receiver that's a great special teams player. The itty-bitty guys, the fluff.
+
t It's part of McDonald's "build your burger" contest, which it offers in Australia but not in the U.S. Foodies can custom design their own burgers and try them out at participating restaurants. They can also design burgers online to try and win prizes, ranging from free meals at McDonald's to vacations in Sydney and Thailand. <a href=http://www.uggbootsblackfriday.us.com/>cheap ugg boots</a> CAC is planning to establish a civil society watchdog publication to monitor the ATT s implementation, similar to the , which provides oversight for the Mine Ban Treaty. x
+
鈥淚t鈥檚 not always easy to come back to under-21 level, although that can depend on what type of game it is,鈥?said Southgate. 鈥淚 don鈥檛 think it will be an issue for an Under-21 Championship. <a href=http://www.canadagooseoutlet.net.co/>canada goose jacket</a> While the warnings are not new, the extent of the problem cannot be ignored. A recent study by the Government Accountability Office indicates that nearly "29% <of>those over 54] have neither retirement savings nor a traditional pension plan." As to those with retirement savings, the Journal Sentinel article points out that the median balance of retirement savings for those between 55 and 64 is $104,000, certainly an amount that is insufficient to provide for retirees whose life expectancy is increasing. <a href=http://www.AtlantaFalconsJersey.us.com/>Cheap NFL Jerseys</a>
+
YnJpZWZseSByZXNpZ25lZCBhdCBGbG9yaWRhIGR1ZSB0byBoZWFsdGggcmVhc29ucyBiZWZvcmUg <a href=http://www.moncler-outlet.com.co/>moncler outlet</a> ProfessorWickramasinghe, from the University of Buckingham,has a history of making extraordinary claims.Previously he's suggested that infectionssuch as the SARS virus arrived on Earth from space. i <a href=http://www.airjordanshoes.net.co/>cheap air jordans</a>
+
鈥淎fter Reading went 2-0 up, we had to push on and they scored a few near the end,鈥?she said. 鈥淲e have a break now and we need to work hard and come back stronger. <a href=http://www.canadagoosejacketstore.us.com/>canada goose jackets</a> In the absence of the original video CD of the sting operation that showed Chief Minister Harish Rawat s former Secretary Mohammad Shahid allegedly fixing a liquor trade deal, Mr. Rawat, on Tuesday said that no probe into the sting operation was possible unless the original CD was made available.
+
"We just want to leave this island, and they don't understand that," said Laith Saleh, a 30-year-old former plasterer from Aleppo, who fled Syria last month after spending three years fighting Syrian government forces and Islamic State group extremists. <a href=http://www.bootsuggcheap.us.com/>Uggs Outlet</a> Marco Labruna, head of mission for Italian NGO Un Ponte Per (UPP), which convened the two-day meeting, said tensions were growing between different communities and relationships and interaction were increasingly focussed on difference and conflict . d <a href=http://www.outletmoncler.us.com/>moncler jackets outlet</a>
+
Well that's a great place to work qualifications ( needed ) CRUEL to animals, Yet again many animals have suffered and the person responsible has got off lightly. <a href=http://www.louisvuittonbags.nom.co/>louis vuitton outlet online</a> Yuma LLC, snowboard manufacturer Burton's official distributor inRussia, had announced acountrywide contest that would reward 13 cities with new snow parks. Seven cities, including St. Petersburg, Novosibirsk, andKrasnoyarsk, had been thesites ofBurton snow park construction last year andwere already holding competitions fortheir local winter sports fans. Now, 26 other spots inRussia were inthe running forthe next season's build. Petropavlovsk was up against cities like Vladivostok, Ufa, andKazan, which contain populations many times thesize ofthe entire Kamchatka region.
+
  
 
== Назначение ресурса ==
 
== Назначение ресурса ==

Latest revision as of 17:53, 17 November 2015

Информации мало или она отсутствует

Пока в данной статье мало информации. Приносим извинения.

Если вы хотите написать по теме, — сделайте это.

В соответствии с принятыми в данной вики договорённостями, правильное название этой статьи — Основы XMPP.
Для ссылок сюда с других страниц
ЯВики используйте название
Основы XMPP
На других ресурсах
можно также давать ссылку
http://jawiki.ru/XMPP_Core

Основы протокола XMPP изложены в документе RFC 3920: "Extensible Messaging and Presence Protocol (XMPP): Core".

Этот документ описывает обощённую архитектуру, схему адресации, термины "XML поток" и "XML станс", правила использования XML, требования к совместимым реализациям протокола, а также соображения по поводу интернациональности и безопасности.

Введение[edit]

Extensible Messaging and Presence Protocol (XMPP) — открытый, основанный на XML протокол для обмена в почти реальном времени сообщениями, передачи информации о пристуствии и сервисов вида "запрос-ответ". Базовый синтаксис и семантика были разработаны в сообществе Jabber, большей частью в 1999 году. В 2002, рабочая группа XMPP занялась разработкой адаптации протокола Jabber, которая была бы пригодна в качестве технологии IETF для обмена сообщениями и информацией о присутствии. Как результат этой работы, данный текст описывает основные возможности XMPP 1.0; расширения, необходимые для обмена сообщениями и информацией о присутствии, определенные в RFC 2779, определены в Extensible Messaging and Presence Protocol (XMPP): XMPP IM.

Обобщённая архитектура сети[edit]

Обзор[edit]

Хотя XMPP и не привязан к конкретной сетевой архитектуре, обычно он реализуется с архитектурой "клиент-сервер", где клиент соединяется с сервером по протоколу TCP, и соединения между серверами тоже производятся по протоколу TCP.

Примерная структура сети

Примерная структура сети XMPP включает в себя сервера, к которым подключаются клиенты. На схеме также показан транспорт в другую IM сеть. Синим цветом выделены соединения XMPP, черным - соединения сторонней сети.

Сервер[edit]

Сервер действует как уровень абстракции для соединений XMPP. Его основные обязанности:

  • управлять соединениями(сессиями) других сущностей, в форме XML потоков от/для авторизованных клиентов, других серверов и прочих сущностей.
  • маршрутизировать корректно адресованные XML стансы между указанными сущностями посредством XML потоков.

Большинство XMPP-совместимых серверов также выполняют обязанности по хранению данных клиентов (например, их контакт-листов в случае базирующихся на XMPP IM-приложений). В этом случае данные XML обрабатываются самим сервером, и никуда не перенаправляются.

Клиент[edit]

Большинство клиентов подключаются напрямую к серверам через TCP-соединения, и используют XMPP для получения доступа к возможностям сервера и связанных с ним сервисов. Одновременно могут быть подключены несколько ресурсов (например, обозначающих устройства или местоположения) одного клиента. Каждый ресурс должен иметь уникальный идентификатор ресурса (см. Схема адресации).

Рекомендуется для клиент-серверных соединений использовать порт 5222.

Транспорт[edit]

Транспорт - специальный сервис, работающий на стороне сервера, чья основная функция - обеспечивать перевод XMPP в протокол сторонней (не XMPP) IM сети и обратно. Примерами могут являться e-mail, Internet Relay Chat, SIMPLE, SMS, а также коммерческие IM-сети, такие как AIM, ICQ, MSN и Yahoo! IM. Коммуникации между транспортами и XMPP-серверами, а также между транспортами и сторонними серверами не описываются в этом документе.

Сеть[edit]

Поскольку каждый сервер идентифицируется его сетевым адресом, и поскольку сервер-серверные коммуникации являются прямым расширением клиент-серверного протокола, фактически система состоит из набора взаимодействующих серверов. Таким образом, <juliet@example.com> может обмениваться сообщениями, информацией о присутствии и др. с <romeo@example.net>. Этот шаблон знаком по протоколам вроде SMTP, которые пользуются стандартами сетевой адресации. Взаимодействие между серверами НЕОБЯЗАТЕЛЬНО. Если оно доступно, оно должно производиться посредством XML потоков через TCP соединения. Рекомендуемый порт для межсерверного взаимодействия 5269.

Схема адресации[edit]

Обзор[edit]

Сущность - что-то, что может быть воспринято как конечная точка сети и может обмениваться данными по протоколу XMPP. Все сущности имеют уникальный адрес, соотвествующий RFC 2396. По историческим причинам, идентификатор называется Jabber Identifier или JID. Корректный JID состоит из идентификатора домена (domain), идентификатора узла(node) и идентификатора ресурса(resource).

Синтакс JID в форме Бэкуса—Наура:

     jid             = [ node "@" ] domain [ "/" resource ]
     domain          = fqdn / address-literal
     fqdn            = (sub-domain 1*("." sub-domain))
     sub-domain      = (internationalized domain label)
     address-literal = IPv4address / IPv6address

Все JID'ы строятся по указанной схеме. Наиболее частое её применение - идентификация пользователя IM, сервера, к которому пользователь подключен, и ресурса пользователя в форме user@server/resource.

Тем не менее, могут существовать узлы, не являющиеся пользователями. Например, конкретная конференция на сервере конференций может быть адресована как room@server, а её участник может быть адресован как room@server/nick.

Каждая допустимая часть JID'а по длине не должна превышать 1023 байта. Таким образом, полная длина JID с учетом символов "@" и "/" не может превышать 3071 байт.

XML-потоки[edit]

Обзор[edit]

Две фундаментальные концепции делают возможным быстрый асинхронный обмен сравнительно маленькими порциями структурированной информации между сущностями: XML-потоки и XML-стансы. Эти термины определяются следующим образом:

XML-поток - это контейнер для обмена XML-элементами между любыми двумя сущностями в сети. Начало XML-потока однозначно обозначается открывающим XML-тегом <stream> (с необходимыми атрибутами и указанием пространства имён), а конец XML-потока однозначно обозначается закрывающим тегом </stream>. В течение жизни потока сущность, создавшая поток, может посылать неограниченное количество XML-элементов через поток, включая как элементы для создания потока (например, предложить использовать TLS (Секция 5) или SASL (Секция 6)), так и XML-стансы (элементы <message/>, <presence/> и <iq/>, с пространством имён по умолчанию). "Начальный поток" предлагается инициирующей сущностью (обычно клиентом или сервером) принимающей сущности (обычно серверу), и может рассматриваться как соответствующая инициатору потока "сессия". "Начальный поток" позволяет производить односторонюю передачу информации от инициатора к получателю; для передачи в обратном направлении принимающая сущность ДОЛЖНА предложить поток инициатору ("ответный поток").

XML-станс - дискретная семантическая единица структурированной информации, переcылаемая от одной сущности к другой посредством XML-потока. XML-станс существует как непосредственный потомок корневого элемента <stream/>.

ToDo: An XML stanza exists at the direct child level of the root <stream/> element and is said to be well-balanced if it matches the production 43 content of XML.

Начало любого XML-станса однозначно обозначается открывающим тегом на глубине 1 в XML-потоке (например, <presence>), и конец однозначно обозначается соответствующим закрывающим тегом на глубине 1 (например, </presence>). XML-станс МОЖЕТ содержать дочерние элементы (с соответствующими атрибутами, дочерними элементами и символьными данными), если это необходимо для передачи желаемой информации. Единственные XML-стансы, определенные здесь - элементы <message/>, <presence/> и <iq/>, с пространством имён по умолчанию, как описано в Секции 9; XML элементы, необходимые для инициации TLS (Секция 5), SASL (Секция 6), или Server Dialback (Секция 8) не являются XML-стансами.

В качестве примера рассмотрим сессию клиента с сервером. Для подключения к серверу клиент ДОЛЖЕН инициировать XML-поток, послав серверу открывающий тег <stream>, возможно, предварив его текстовым описанием версии XML и используемой кодировки (см. Изменения в текстовом описании (Секция 11.4) и Кодировка символов (Секция 11.5)). В зависимости от локальных правил и характеристик сервиса, серверу СЛЕДУЕТ ответить клиенту вторым XML-потоком, возможно, предварив его текстовым описанием. Как только клиент завершил приветствие SASL, он МОЖЕТ посылать неограниченное число XML-станс через поток любому получателю в сети. Когда клиент хочет закрыть поток, он просто посылает закрывающий тег </stream> (в другом варианте, поток может быть закрыть сервером), после чего клиенту и серверу СЛЕДУЕТ также прервать нижележащее соединение (обычно TCP). Те, кто привык думать об XML как о документе, могут рассматривать сессию клиента с сервером как два незакрытых XML документа: один от клиента к серверу, и один от сервера к клиенту. С этой точки зрения, корневой элемент <stream/>, может рассматриваться как основная сущность для обоих "документов", и оба этих "документа" строятся за счет аккумулирования XML-станс, присланных по соответствующему потоку. Тем не менее, такая точка зрения - не более чем соглашение; XMPP имеет дело не с документами, а с потоками и стансами.

В сущности, XML-поток действует как конверт для всех переданных XML-станс. Упрощенно его можно представить так:

   |--------------------|
   | <stream>           |
   |--------------------|
   | <presence>         |
   |   <show/>          |
   | </presence>        |
   |--------------------|
   | <message to='foo'> |
   |   <body/>          |
   | </message>         |
   |--------------------|
   | <iq to='bar'>      |
   |   <query/>         |
   | </iq>              |
   |--------------------|
   | ...                |
   |--------------------|
   | </stream>          |
   |--------------------|

Привязка к TCP[edit]

Хотя нет необходимости передавать XML поток через [TCP] соединение (например, две сущности могут подключаться друг к другу через другой механизм такой как [HTTP] туннелирование), данная спецификация определяет привязку XMPP только к TCP. В контексте клиент-серверного взаимодействия, сервер ДОЛЖЕН разрешать клиенту использование одного TCP соединения для отправки XML стансов от клиента к серверу и от сервера к клиенту. При взаимодействии сервер-сервер сервер ДОЛЖЕН использовать одно TCP соединение для стансов, посылаемых сервером пиру и другое TCP соединение (инициированное пиром) для стансов от пира к серверу, всего два TCP соединения.

Безопасность потока[edit]

Атрибуты потока[edit]

Поддержка версий[edit]

Указание пространства имён[edit]

Возможности потока[edit]

Ошибки потока[edit]

Правила[edit]

Синтаксис[edit]

Предпоределенные условия[edit]

Специфические условия приложения[edit]

Упрощенные примеры потоков[edit]

Использование TLS[edit]

Использование SASL[edit]

Назначение ресурса[edit]

Server Dialback[edit]

XML стансы[edit]

Правила обработки XML стансов на сервере[edit]

Использование XML в протоколе XMPP[edit]

Требования к совместимости с Основами[edit]

Соображения по поводу интернациональности[edit]

Соображения по поводу безопасности[edit]

Соображения IANA[edit]

Примечания[edit]

Различия между Основами Jabber и XMPP[edit]

Ссылки[edit]