public class WebImageViewer extends Object
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
LOG |
Constructor and Description |
---|
WebImageViewer(InetSocketAddress address) |
Modifier and Type | Method and Description |
---|---|
int |
getPort()
Get the listening port.
|
void |
initServer(String fsimage)
Start WebImageViewer.
|
void |
initServerAndWait(String fsimage)
Start WebImageViewer and wait until the thread is interrupted.
|
void |
shutdown()
Stop WebImageViewer.
|
public static final org.apache.commons.logging.Log LOG
public WebImageViewer(InetSocketAddress address)
public void initServerAndWait(String fsimage) throws IOException
fsimage
- the fsimage to load.IOException
- if failed to load the fsimage.public void initServer(String fsimage) throws IOException
fsimage
- the fsimage to load.IOException
- if fail to load the fsimage.public void shutdown()
public int getPort()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.