org.sblim.wbem.http
Class HttpServerConnection

java.lang.Object
  extended by org.sblim.wbem.http.HttpServerConnection
All Implemented Interfaces:
java.lang.Runnable

public class HttpServerConnection
extends java.lang.Object
implements java.lang.Runnable


Field Summary
protected  boolean iClose
           
protected  org.sblim.wbem.http.HttpServerConnection.HttpConnectionDispatcher iDispatcher
           
protected  HttpConnectionHandler iHandler
           
protected  int iPort
           
protected  java.net.ServerSocket iServerSocket
           
protected  ThreadPool iThreadPool
           
 
Constructor Summary
HttpServerConnection(HttpConnectionHandler handler, int port)
           
HttpServerConnection(HttpConnectionHandler handler, int port, boolean ssl)
           
HttpServerConnection(HttpConnectionHandler handler, int port, boolean ssl, SessionProperties properties)
           
 
Method Summary
 void close()
           
 java.util.Vector getConnectionPool()
           
 java.lang.String getHostIP()
           
 int getPort()
           
 boolean isSSL()
           
 void run()
           
 void setName(java.lang.String name)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iPort

protected int iPort

iServerSocket

protected java.net.ServerSocket iServerSocket

iHandler

protected HttpConnectionHandler iHandler

iDispatcher

protected org.sblim.wbem.http.HttpServerConnection.HttpConnectionDispatcher iDispatcher

iClose

protected boolean iClose

iThreadPool

protected ThreadPool iThreadPool
Constructor Detail

HttpServerConnection

public HttpServerConnection(HttpConnectionHandler handler,
                            int port,
                            boolean ssl,
                            SessionProperties properties)
                     throws java.io.IOException
Throws:
java.io.IOException

HttpServerConnection

public HttpServerConnection(HttpConnectionHandler handler,
                            int port,
                            boolean ssl)
                     throws java.io.IOException
Throws:
java.io.IOException

HttpServerConnection

public HttpServerConnection(HttpConnectionHandler handler,
                            int port)
                     throws java.io.IOException
Throws:
java.io.IOException
Method Detail

setName

public void setName(java.lang.String name)

getPort

public int getPort()

getHostIP

public java.lang.String getHostIP()
                           throws java.net.UnknownHostException
Throws:
java.net.UnknownHostException

isSSL

public boolean isSSL()

start

public void start()

run

public void run()
Specified by:
run in interface java.lang.Runnable

getConnectionPool

public java.util.Vector getConnectionPool()

close

public void close()


Copyright © 2005, 2006 IBM Corporation. All Rights Reserved.