|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opengts.util.RemoteLogServer
public class RemoteLogServer
Remote Log server
Nested Class Summary | |
---|---|
class |
RemoteLogServer.RemoteLogHandler
|
Field Summary | |
---|---|
static java.lang.String |
LOG_OUTPUT_BEGIN
|
static java.lang.String |
LOG_OUTPUT_END
|
static java.lang.String |
VERSION
|
Constructor Summary | |
---|---|
RemoteLogServer(java.net.InetAddress bindAddr,
int port,
CachedLogOutputStream clos)
Constructor |
|
RemoteLogServer(int port,
CachedLogOutputStream clos)
Constructor |
|
RemoteLogServer(java.lang.String bindHost,
int port,
CachedLogOutputStream clos)
Constructor |
Method Summary | |
---|---|
java.net.InetAddress |
getBindAddress()
Gets the local network interface on which this server will be bound. |
static CachedLogOutputStream |
GetCachedLogOutputStream(boolean allowTest)
|
java.lang.String |
getHeader()
Gets the header to use for remote access |
int |
getListenPort()
Gets the port on which this server listens for incoming connection requests. |
static java.net.InetAddress |
GetLocalBindAddress(java.lang.String bindHost)
Returns the InetAddress for the specified 'bindHost' |
boolean |
hasHeader()
Returns true if a header is defined |
static void |
main(java.lang.String[] argv)
|
void |
setHeader(java.lang.String h)
Sets the header to use for remote access |
boolean |
startServer()
Starts the remote log server |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String VERSION
public static final java.lang.String LOG_OUTPUT_BEGIN
public static final java.lang.String LOG_OUTPUT_END
Constructor Detail |
---|
public RemoteLogServer(int port, CachedLogOutputStream clos)
port
- The port on which this server listens for incoming connection requests.clos
- The CachedLogOutputStream
instance that contains the log bufferpublic RemoteLogServer(java.lang.String bindHost, int port, CachedLogOutputStream clos)
bindHost
- The local network interface on which this server will be bound.port
- The port on which this server listens for incoming connection requests.clos
- The CachedLogOutputStream
instance that contains the log bufferpublic RemoteLogServer(java.net.InetAddress bindAddr, int port, CachedLogOutputStream clos)
bindAddr
- The local network interface on which this server will be bound.port
- The port on which this server listens for incoming connection requests.clos
- The CachedLogOutputStream
instance that contains the log bufferMethod Detail |
---|
public static java.net.InetAddress GetLocalBindAddress(java.lang.String bindHost)
bindHost
- The bind host name
public java.net.InetAddress getBindAddress()
public int getListenPort()
public void setHeader(java.lang.String h)
h
- The header stringpublic java.lang.String getHeader()
public boolean hasHeader()
public boolean startServer()
public static CachedLogOutputStream GetCachedLogOutputStream(boolean allowTest)
public static void main(java.lang.String[] argv)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |