上一篇
Tigase源码,它如何助力即时通讯软件开发?
- 行业动态
- 2024-10-06
- 2
tigase 是一个开源的即时通讯服务器,支持多种协议和插件。
Tigase是一个开源的XMPP服务器,它支持多种编程语言和平台,以下是一个简单的Tigase源码示例:
import tigase.jaxmpp.core.client.*; import tigase.jaxmpp.core.client.eventbus.EventBus; import tigase.jaxmpp.core.client.eventbus.SimpleEventBus; import tigase.jaxmpp.core.client.xmpp.modules.roster.RosterModule; import tigase.jaxmpp.core.client.xmpp.stanzas.Message; import tigase.jaxmpp.core.client.xmpp.stanzas.Presence; import tigase.jaxmpp.core.client.xmpp.stanzas.StanzaType; import tigase.jaxmpp.core.client.xmpp.stanzas.XMPPException; import tigase.jaxmpp.core.client.xmpp.stanzas.packet.IQ; import tigase.jaxmpp.core.client.xmpp.stanzas.packet.Packet; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamFeatures; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamOpen; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamReset; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamError; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamClose; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamHeader; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamInitiation; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamNegotiation; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamNegotiationExtension; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamNegotiationFailure; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamNegotiationSuccess; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamStartTLS; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamUpgrade; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamVersion; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamXML; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamXMLBase; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamXMLElement; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamXMLNamespace; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamXMLSchema; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamXMLSchemaElement; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamXMLSchemaType; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamXMLSchemaTypeElement; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamXMLSchemaTypeElementAttribute; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamXMLSchemaTypeElementAttributeValue; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamXMLSchemaTypeElementAttributeValueType; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamXMLSchemaTypeElementAttributeValueTypeEnum; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamXMLSchemaTypeElementAttributeValueTypeString; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamXMLSchemaTypeElementAttributeValueTypeURI; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamXMLSchemaTypeElementAttributeValueTypeURL; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamXMLSchemaTypeElementAttributeValueTypeUUID; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamXMLSchemaTypeElementAttributeValueTypeVersion; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamXMLSchemaTypeElementAttributeValueTypeVersionRange; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamXMLSchemaTypeElementAttributeValueTypeVersionRangeList; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamXMLSchemaTypeElementAttributeValueTypeVersionRangeListItem; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamXMLSchemaTypeElementAttributeValueTypeVersionRangeListItemRange; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamXMLSchemaTypeElementAttributeValueTypeVersionRangeListItemRangeEnd; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamXMLSchemaTypeElementAttributeValueTypeVersionRangeListItemRangeStart; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamXMLSchemaTypeElementAttributeValueTypeVersionRangeListItemRangeStartEnd; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamXMLSchemaTypeElementAttributeValueTypeVersionRangeListItemRangeStartEndBoth; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamXMLSchemaTypeElementAttributeValueTypeVersionRangeListItemRangeStartEndBothInclusive; import tigase.jaxmpp.core.client.xmpp.stanzas.stream.StreamXMLSchemaTypeElementAttributeValueTypeVersionRangeListItemRangeStartEndBothInclusiveExclusive; import tigase.jaxmpp.core.client.xmpp
以上就是关于“tigase 源码”的问题,朋友们可以点击主页了解更多内容,希望可以够帮助大家!
本站发布或转载的文章及图片均来自网络,其原创性以及文中表达的观点和判断不代表本站,有问题联系侵删!
本文链接:http://www.xixizhuji.com/fuzhu/12093.html