Connection Manager 3.4.2 Javadoc

org.jivesoftware.multiplexer.net.http
Class HttpBindManager

java.lang.Object
  extended by org.jivesoftware.multiplexer.net.http.HttpBindManager

public class HttpBindManager
extends java.lang.Object

Manages connections to the server which use the HTTP Bind protocol specified in XEP-0124. The manager maps a servlet to an embedded servlet container using the ports provided in the constructor.

Author:
Alexander Wenckus

Constructor Summary
HttpBindManager(java.lang.String serverName, int plainPort, int sslPort)
           
 
Method Summary
 void shutdown()
          Shutdown the HTTP Bind service, freeing any related resources.
 void startup()
          Starts the HTTP Bind service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpBindManager

public HttpBindManager(java.lang.String serverName,
                       int plainPort,
                       int sslPort)
Method Detail

startup

public void startup()
             throws java.lang.Exception
Starts the HTTP Bind service.

Throws:
java.lang.Exception - if there is an error starting up the server.

shutdown

public void shutdown()
              throws java.lang.Exception
Shutdown the HTTP Bind service, freeing any related resources.

Throws:
java.lang.Exception - if there is an error shutting down the service.

Connection Manager 3.4.2 Javadoc

Copyright © 2003-2006 Jive Software.