|
02/28/2005 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.epicentric.event.FileEventLog
Accepts events from applications and sends them to a receiver. This implementation writes events to a file, and creates a FileTransmitter to post old files to the designated receiver. Format of the sent message is as follows: DateTime::localHostName::localHostIPAddress::callerId::eventId::message;
| Field Summary | |
static int |
DEFAULT_INTERVAL_SECS
Deprecated. |
static String |
DELIMITER
Deprecated. |
static String |
EVENT_SUBDIR
Deprecated. |
static int |
ROLLOVER_SIZE_BYTES
Deprecated. |
| Constructor Summary | |
FileEventLog()
Deprecated. Constructor. |
|
| Method Summary | |
void |
close()
Deprecated. Perform orderly close of the event log. |
String |
getLocalHostIPAddress()
Deprecated. Return local host IP address as string. |
void |
logEvent(String callerId,
int eventId,
String message)
Deprecated. Log a message for caller. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static String EVENT_SUBDIR
public static int ROLLOVER_SIZE_BYTES
public static int DEFAULT_INTERVAL_SECS
public static String DELIMITER
| Constructor Detail |
public FileEventLog()
throws LogException,
IOException
| Method Detail |
public void logEvent(String callerId,
int eventId,
String message)
logEvent in interface EventLogcallerId - is a string that identifies the calling process
(not necessarily the calling method).eventId - can be one of EventLogManager's predefined events,
or a caller-defined event. Caller-defined events typically
should be in the range of runtime events defined in EventLogManager,
though an implementer of this class does not need to enforce it.public void close()
close in interface EventLogpublic String getLocalHostIPAddress()
|
02/28/2005 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||