public class SocketHandler<T extends SocketHandler<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SocketHandler.Protocol |
Constructor and Description |
---|
SocketHandler(String key) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
Boolean |
autoflush()
Automatically flush after each write.
|
T |
autoflush(Boolean value)
Automatically flush after each write.
|
Boolean |
blockOnReconnect()
If set to true the write methods will block when attempting to reconnect.
|
T |
blockOnReconnect(Boolean value)
If set to true the write methods will block when attempting to reconnect.
|
Boolean |
enabled()
If set to true the handler is enabled and functioning as normal, if set
to false the handler is ignored when processing log messages.
|
T |
enabled(Boolean value)
If set to true the handler is enabled and functioning as normal, if set
to false the handler is ignored when processing log messages.
|
String |
encoding()
The character encoding used by this Handler.
|
T |
encoding(String value)
The character encoding used by this Handler.
|
String |
filterSpec()
A filter expression value to define a filter.
|
T |
filterSpec(String value)
A filter expression value to define a filter.
|
String |
getKey() |
Level |
level()
The log level specifying which message levels will be logged by this
logger.
|
T |
level(Level value)
The log level specifying which message levels will be logged by this
logger.
|
String |
namedFormatter()
The name of the defined formatter to be used on the handler.
|
T |
namedFormatter(String value)
The name of the defined formatter to be used on the handler.
|
String |
outboundSocketBindingRef()
Outbound socket reference for the socket connection.
|
T |
outboundSocketBindingRef(String value)
Outbound socket reference for the socket connection.
|
SocketHandler.Protocol |
protocol()
The protocol the socket should communicate over.
|
T |
protocol(SocketHandler.Protocol value)
The protocol the socket should communicate over.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
String |
sslContext()
The reference to the defined SSL context.
|
T |
sslContext(String value)
The reference to the defined SSL context.
|
public SocketHandler(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Boolean autoflush()
public Boolean blockOnReconnect()
public T blockOnReconnect(Boolean value)
public Boolean enabled()
public T enabled(Boolean value)
public String encoding()
public String filterSpec()
public T filterSpec(String value)
public Level level()
public T level(Level value)
public String namedFormatter()
public T namedFormatter(String value)
public String outboundSocketBindingRef()
public T outboundSocketBindingRef(String value)
public SocketHandler.Protocol protocol()
public T protocol(SocketHandler.Protocol value)
public String sslContext()
Copyright © 2019 JBoss by Red Hat. All rights reserved.