|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.endeca.logging.LogConnection
public class LogConnection
This class is used to create an HTTP connection to the Log Server, where LogEntry objects can be sent and recorded. The LogConnection contains the hostname and port of the Log Server.
Constructor Summary | |
---|---|
LogConnection(String host,
int port)
Creates a new instance of LogConnection |
|
LogConnection(String host,
String port)
Creates a new instance of LogConnection |
Method Summary | |
---|---|
void |
log(LogEntry entry)
Sends a log request to the Log Server without waiting for a response. |
boolean |
logAndWait(LogEntry entry)
Sends a log request to the Log Server and reads the response. |
void |
logAsynchronously(LogEntry entry)
Queues up a log request to send to the Log Server asynchronously and without waiting for a response. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogConnection(String host, int port)
public LogConnection(String host, String port)
Method Detail |
---|
public void log(LogEntry entry) throws LogException
LogException
public void logAsynchronously(LogEntry entry) throws LogException
LogException
public boolean logAndWait(LogEntry entry) throws LogException
LogException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |