Package | Description |
---|---|
org.jboss.logmanager.handlers |
Modifier and Type | Method and Description |
---|---|
SyslogHandler.Protocol |
SyslogHandler.getProtocol()
The protocol used to connect to the syslog server
|
static SyslogHandler.Protocol |
SyslogHandler.Protocol.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SyslogHandler.Protocol[] |
SyslogHandler.Protocol.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
SyslogHandler.setProtocol(SyslogHandler.Protocol type)
Sets the protocol used to connect to the syslog server
|
Constructor and Description |
---|
SyslogHandler(InetAddress serverAddress,
int port,
SyslogHandler.Facility facility,
SyslogHandler.SyslogType syslogType,
SyslogHandler.Protocol protocol,
String hostname)
Creates a new syslog handler that sends the messages to the server represented by the
serverAddress
parameter on the port represented by the port parameter. |
SyslogHandler(String serverHostname,
int port,
SyslogHandler.Facility facility,
SyslogHandler.SyslogType syslogType,
SyslogHandler.Protocol protocol,
String hostname)
Creates a new syslog handler that sends the messages to the server represented by the
serverAddress
parameter on the port represented by the port parameter. |
Copyright © 2017 JBoss by Red Hat. All rights reserved.