我无法创建agsxmpp客户端和jid..fed的对象!请帮助我... [英] i cant create the object of agsxmpp client and jid..fed up! pls help me...
本文介绍了我无法创建agsxmpp客户端和jid..fed的对象!请帮助我...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这里正在使用openfire和ags xmpp在wp8.1中创建一个聊天应用程序
i不能创建连接和对象y?
my代码..
here am creating a chat app in wp8.1 using openfire and ags xmpp
i cant create connection and object y?
my code..
using System;
using System.Collections.ObjectModel;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;
using Matrix.Xmpp;
using System.Net.XMPP;
using Matrix.Xmpp.Client;
using Matrix.Xmpp.Sasl;
using agsXMPP;
using agsXMPP.protocol.client;
using agsXMPP.protocol.iq.roster;
using agsXMPP.protocol.iq.vcard;
using agsXMPP.Collections;
// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=391641
namespace agsxmpp_demo
{
public sealed partial class MainPage : Page
{
public string Jid_Sender = "sree1";
public string pw = "sree2";
string uname = "aps";
string server = "taurus";
Jid obj_jid = new Jid(); //here i cant pass jid_sender
agsXMPP.XmppClientConnection con = new agsXMPP.XmppClientConnection();
// con is not coming here why? what mistake i made?/?
public MainPage()
{
this.InitializeComponent();
this.NavigationCacheMode = NavigationCacheMode.Required;
}
protected override void OnNavigatedTo(NavigationEventArgs e)
{
}
private void Button_Click(object sender, RoutedEventArgs e)
{
}
}
}
推荐答案
你已经在帮助!!!! Me Openfire Server连接使用Xmpp显示错误!!我不能修复帮助 [ ^ ]。请不要重新发布相同的问题。
You already posted this at Help !!!!Me Openfire Server Connection Using Xmpp Showing Error!! I Cant Fix Pls Help[^]. Please do not repost the same question.
这篇关于我无法创建agsxmpp客户端和jid..fed的对象!请帮助我...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文