org.sblim.cimclient.internal.http
public class HttpServerConnection extends Object implements Runnable
| Constructor Summary | |
|---|---|
| HttpServerConnection(HttpConnectionHandler pHandler, String pLocalAddress, int pPort, boolean pSsl, WBEMConfiguration pProperties)
Ctor.
| |
| Method Summary | |
|---|---|
| void | close()
Closes the socket and shuts down the listening threads |
| String | getLocalHostName()
Returns the local hostname the socket is bound to
|
| String | getLocalIp()
Returns the local ip address the socker is bound to
|
| int | getPort()
Returns the port
|
| boolean | isSSL()
Return wether this connection is SSL secured
|
| void | run() |
| void | setName(String pName)
Set the name of the thread
|
| void | start()
Starts a thread that waits for incoming connections |
Parameters: pHandler The connection handler pLocalAddress The local address to bind the port to. If null the port is bound to all local addresses. For use on multi-homed systems pPort The local port. If zero any free port will be chosen. pSsl SSL secured connection ? pProperties The configuration context
Throws: IOException
Returns: The host name
Throws: UnknownHostException
Returns: The ip address
Throws: UnknownHostException
Returns: The port
Returns: true if SSL is enabled, false
otherwise
Parameters: pName The new value