public class GELFSender extends Object implements EventProcessor<AuditEvent>, stream.Processor
DELETE_FLAG| Constructor and Description |
|---|
GELFSender() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
connect() |
protected void |
emit(stream.Data input) |
void |
finish() |
String |
getAddress() |
String |
getKey() |
Integer |
getPort() |
String |
getPrefix() |
String |
join(List<String> strs) |
static void |
main(String[] args) |
stream.Data |
process(stream.Data input) |
AuditEvent |
processEvent(AuditEvent evt,
Map<String,Object> context)
This method is called upon event reception.
|
void |
setAddress(String address) |
void |
setKey(String key) |
void |
setPort(Integer port) |
void |
setPrefix(String prefix) |
public stream.Data process(stream.Data input)
process in interface stream.Processorpublic AuditEvent processEvent(AuditEvent evt, Map<String,Object> context) throws Exception
EventProcessorprocessEvent in interface EventProcessor<AuditEvent>Exceptionprotected void emit(stream.Data input)
public String getPrefix()
public void setPrefix(String prefix)
public String getKey()
public void setKey(String key)
public String getAddress()
public void setAddress(String address)
public Integer getPort()
public void setPort(Integer port)
Copyright © 2014 jwall.org. All Rights Reserved.