• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java PresenceSubscribeHandler类的典型用法和代码示例

java 2次浏览

本文整理汇总了Java中org.jivesoftware.openfire.handler.PresenceSubscribeHandler的典型用法代码示例。如果您正苦于以下问题:Java PresenceSubscribeHandler类的具体用法?Java PresenceSubscribeHandler怎么用?Java PresenceSubscribeHandler使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。

PresenceSubscribeHandler类属于org.jivesoftware.openfire.handler包,在下文中一共展示了PresenceSubscribeHandler类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: loadModules

点赞 2

import org.jivesoftware.openfire.handler.PresenceSubscribeHandler; //导入依赖的package包/类
private void loadModules() {
    // Load boot modules
    loadModule(RoutingTableImpl.class.getName());
    loadModule(AuditManagerImpl.class.getName());
    loadModule(RosterManager.class.getName());
    loadModule(PrivateStorage.class.getName());
    // Load core modules
    loadModule(PresenceManagerImpl.class.getName());
    loadModule(SessionManager.class.getName());
    loadModule(PacketRouterImpl.class.getName());
    loadModule(IQRouter.class.getName());
    loadModule(MessageRouter.class.getName());
    loadModule(PresenceRouter.class.getName());
    loadModule(MulticastRouter.class.getName());
    loadModule(PacketTransporterImpl.class.getName());
    loadModule(PacketDelivererImpl.class.getName());
    loadModule(TransportHandler.class.getName());
    loadModule(OfflineMessageStrategy.class.getName());
    loadModule(OfflineMessageStore.class.getName());
    loadModule(VCardManager.class.getName());
    // Load standard modules
    loadModule(IQBindHandler.class.getName());
    loadModule(IQSessionEstablishmentHandler.class.getName());
    loadModule(IQAuthHandler.class.getName());
    loadModule(IQPingHandler.class.getName());
    loadModule(IQPrivateHandler.class.getName());
    loadModule(IQRegisterHandler.class.getName());
    loadModule(IQRosterHandler.class.getName());
    loadModule(IQTimeHandler.class.getName());
    loadModule(IQvCardHandler.class.getName());
    loadModule(IQVersionHandler.class.getName());
    loadModule(IQLastActivityHandler.class.getName());
    loadModule(PresenceSubscribeHandler.class.getName());
    loadModule(PresenceUpdateHandler.class.getName());
    loadModule(IQOfflineMessagesHandler.class.getName());
    loadModule(IQPEPHandler.class.getName());
    loadModule(IQPEPOwnerHandler.class.getName());
    loadModule(MulticastDNSService.class.getName());
    loadModule(IQSharedGroupHandler.class.getName());
    loadModule(AdHocCommandHandler.class.getName());
    loadModule(IQPrivacyHandler.class.getName());
    loadModule(DefaultFileTransferManager.class.getName());
    loadModule(FileTransferProxy.class.getName());
    loadModule(MediaProxyService.class.getName());
    loadModule(STUNService.class.getName());
    loadModule(PubSubModule.class.getName());
    loadModule(IQDiscoInfoHandler.class.getName());
    loadModule(IQDiscoItemsHandler.class.getName());
    loadModule(UpdateManager.class.getName());
    loadModule(FlashCrossDomainHandler.class.getName());
    loadModule(InternalComponentManager.class.getName());
    loadModule(MultiUserChatManager.class.getName());
    loadModule(ClearspaceManager.class.getName());
    // Load this module always last since we don't want to start listening for clients
    // before the rest of the modules have been started
    loadModule(ConnectionManagerImpl.class.getName());
    // Keep a reference to the internal component manager
    componentManager = getComponentManager();
}
 

开发者ID:coodeer,
项目名称:g3server,
代码行数:60,
代码来源:XMPPServer.java

示例2: loadModules

点赞 2

import org.jivesoftware.openfire.handler.PresenceSubscribeHandler; //导入依赖的package包/类
private void loadModules() {
    // Load boot modules
    loadModule(RoutingTableImpl.class.getName());
    loadModule(AuditManagerImpl.class.getName());
    loadModule(RosterManager.class.getName());
    loadModule(PrivateStorage.class.getName());
    // Load core modules
    loadModule(PresenceManagerImpl.class.getName());
    loadModule(SessionManager.class.getName());
    loadModule(PacketRouterImpl.class.getName());
    loadModule(IQRouter.class.getName());
    loadModule(MessageRouter.class.getName());
    loadModule(PresenceRouter.class.getName());
    loadModule(MulticastRouter.class.getName());
    loadModule(PacketTransporterImpl.class.getName());
    loadModule(PacketDelivererImpl.class.getName());
    loadModule(TransportHandler.class.getName());
    loadModule(OfflineMessageStrategy.class.getName());
    loadModule(OfflineMessageStore.class.getName());
    loadModule(VCardManager.class.getName());
    // Load standard modules
    loadModule(IQBindHandler.class.getName());
    loadModule(IQSessionEstablishmentHandler.class.getName());
    loadModule(IQAuthHandler.class.getName());
    loadModule(IQPingHandler.class.getName());
    loadModule(IQPrivateHandler.class.getName());
    loadModule(IQRegisterHandler.class.getName());
    loadModule(IQRosterHandler.class.getName());
    loadModule(IQTimeHandler.class.getName());
    loadModule(IQvCardHandler.class.getName());
    loadModule(IQVersionHandler.class.getName());
    loadModule(IQLastActivityHandler.class.getName());
    loadModule(PresenceSubscribeHandler.class.getName());
    loadModule(PresenceUpdateHandler.class.getName());
    loadModule(IQOfflineMessagesHandler.class.getName());
    loadModule(IQPEPHandler.class.getName());
    loadModule(IQPEPOwnerHandler.class.getName());
    loadModule(MulticastDNSService.class.getName());
    loadModule(IQSharedGroupHandler.class.getName());
    loadModule(AdHocCommandHandler.class.getName());
    loadModule(IQPrivacyHandler.class.getName());
    loadModule(DefaultFileTransferManager.class.getName());
    loadModule(FileTransferProxy.class.getName());
    loadModule(MediaProxyService.class.getName());
    loadModule(PubSubModule.class.getName());
    loadModule(IQDiscoInfoHandler.class.getName());
    loadModule(IQDiscoItemsHandler.class.getName());
    loadModule(UpdateManager.class.getName());
    loadModule(FlashCrossDomainHandler.class.getName());
    loadModule(InternalComponentManager.class.getName());
    loadModule(MultiUserChatManager.class.getName());
    loadModule(ClearspaceManager.class.getName());
    // Load this module always last since we don't want to start listening for clients
    // before the rest of the modules have been started
    loadModule(ConnectionManagerImpl.class.getName());
    // Keep a reference to the internal component manager
    componentManager = getComponentManager();
}
 

开发者ID:surevine,
项目名称:openfire-bespoke,
代码行数:59,
代码来源:XMPPServer.java

示例3: getPresenceSubscribeHandler

点赞 1

import org.jivesoftware.openfire.handler.PresenceSubscribeHandler; //导入依赖的package包/类
/**
 * Returns the <code>PresenceSubscribeHandler</code> registered with this server. The
 * <code>PresenceSubscribeHandler</code> was registered with the server as a module while
 * starting up the server.
 *
 * @return the <code>PresenceSubscribeHandler</code> registered with this server.
 */
public PresenceSubscribeHandler getPresenceSubscribeHandler() {
    return (PresenceSubscribeHandler) modules.get(PresenceSubscribeHandler.class);
}
 

开发者ID:coodeer,
项目名称:g3server,
代码行数:11,
代码来源:XMPPServer.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)