Package org.jivesoftware.whack

Examples of org.jivesoftware.whack.ExternalComponentManager


            // Start the ExternalComponentManager
            String xmppServerHost = properties.getProperty("xmppServer.host");
            port = properties.getProperty("xmppServer.port");
            int xmppServerPort = (port == null ? 10015 : Integer.parseInt(port));
            manager = new ExternalComponentManager(xmppServerHost, xmppServerPort);
            String serverDomain = properties.getProperty("xmppServer.domain");
            if (serverDomain != null) {
                manager.setServerName(serverDomain);
            }
            if (properties.getProperty("xmppServer.defaultSecretKey") != null) {
View Full Code Here


   * Bind the component to the XMPP server.
   *
   * @throws ComponentException if the component couldn't talk to the server
   */
  public void run() throws ComponentException {
    componentManager = new ExternalComponentManager(serverAddress, serverPort);
    componentManager.setDefaultSecretKey(serverSecret);
    componentManager.setServerName(serverDomain);

    // Register this component with the manager.
    componentManager.addComponent(componentName, this);
View Full Code Here

   * Bind the component to the XMPP server.
   *
   * @throws ComponentException if the component couldn't talk to the server
   */
  public void run() throws ComponentException {
    componentManager = new ExternalComponentManager(serverAddress, serverPort);
    componentManager.setDefaultSecretKey(serverSecret);
    componentManager.setServerName(serverDomain);

    // Register this component with the manager.
    componentManager.addComponent(componentName, this);
View Full Code Here

TOP

Related Classes of org.jivesoftware.whack.ExternalComponentManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.