@MessageLogger(projectCode="WFLYPRT",
length=4)
public interface ProtocolLogger
extends org.jboss.logging.BasicLogger
| Modifier and Type | Field and Description |
|---|---|
static ProtocolLogger |
CONNECTION_LOGGER
A logger with the category
org.jboss.as.protocol.connection. |
static ProtocolLogger |
ROOT_LOGGER
The root logger with a category of the package.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancelledAsyncTask(String asyncTaskRunner,
Thread thread) |
void |
cancelledAsyncTaskBeforeRun(String asyncTaskRunner) |
IOException |
channelClosed()
Creates an exception indicating that the channel is closed.
|
IOException |
channelTimedOut() |
ConnectException |
couldNotConnect(URI uri)
Creates an exception indicating a connection could not be made.
|
void |
deprecatedCLIConfiguration(String systemPropName) |
void |
errorClosingChannel(String message)
Logs a warning message indicating an error occurred when closing the channel.
|
void |
failedToCloseResource(Throwable cause,
Object resource)
Logs an error message indicating a failure to close the resource.
|
void |
failedToCloseServerSocket(Throwable cause,
ServerSocket socket)
Logs an error message indicating a failure to close the server socket.
|
ConnectException |
failedToConnect(URI uri,
Exception cause)
Creates an exception indicating a connection could not be made.
|
IOException |
invalidByteToken(int expected,
byte actual)
Creates an exception indicating an invalid byte token was found.
|
IOException |
invalidSignature(String signature)
Creates an exception indicating the signature is invalid.
|
IOException |
invalidType(String type)
Creates an exception indicating the type is invalid.
|
IllegalArgumentException |
invalidType(String validType1,
String validType2,
byte providedType)
Creates an exception indicating the provided type was invalid.
|
void |
noSuchRequest(int requestId,
org.jboss.remoting3.Channel channel) |
IOException |
noSuchResponseHandler(String type) |
IllegalArgumentException |
nullExecutor() |
IllegalStateException |
operationIdAlreadyExists(int operationId)
Creates an exception indicating that the operation id is already taken.
|
IOException |
responseHandlerNotFound(int id)
Creates an exception indicating the response handler id was not found for the request.
|
debug, debug, debug, debug, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugv, debugv, debugv, debugv, debugv, debugv, debugv, debugv, error, error, error, error, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorv, errorv, errorv, errorv, errorv, errorv, errorv, errorv, fatal, fatal, fatal, fatal, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, info, info, info, info, infof, infof, infof, infof, infof, infof, infof, infof, infov, infov, infov, infov, infov, infov, infov, infov, isDebugEnabled, isEnabled, isInfoEnabled, isTraceEnabled, log, log, log, log, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, trace, trace, trace, trace, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracev, tracev, tracev, tracev, tracev, tracev, tracev, tracev, warn, warn, warn, warn, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnv, warnv, warnv, warnv, warnv, warnv, warnv, warnvstatic final ProtocolLogger ROOT_LOGGER
static final ProtocolLogger CONNECTION_LOGGER
org.jboss.as.protocol.connection.@LogMessage(level=WARN)
@Message(id=1,
value="Got error closing channel %s")
void errorClosingChannel(String message)
message - the error message.@LogMessage(level=ERROR)
@Message(id=3,
value="Failed to close resource %s")
void failedToCloseResource(@Cause
Throwable cause,
Object resource)
cause - the cause of the error.resource - the resource.@LogMessage(level=ERROR)
@Message(id=4,
value="Failed to close the server socket %s")
void failedToCloseServerSocket(@Cause
Throwable cause,
ServerSocket socket)
cause - the cause of the error.socket - the server socket.@LogMessage(level=WARN)
@Message(id=18,
value="No such request (%d) associated with channel %s")
void noSuchRequest(int requestId,
org.jboss.remoting3.Channel channel)
@Message(id=23,
value="Could not connect to %s. The connection timed out")
ConnectException couldNotConnect(URI uri)
uri - the URI attempted to connect.ConnectException for the error.@Message(id=30,
value="Invalid byte token. Expecting \'%d\' received \'%d\'")
IOException invalidByteToken(int expected,
byte actual)
expected - the expected value.actual - the actual value.IOException for the error.@Message(id=32,
value="Invalid signature [%s]")
IOException invalidSignature(String signature)
signature - the invalid signature.IOException for the error.@Message(id=34,
value="Invalid type: %s")
IOException invalidType(String type)
type - the invalid type.IOException for the error.@Message(id=35,
value="Type is neither %s or %s: %s")
IllegalArgumentException invalidType(String validType1,
String validType2,
byte providedType)
validType1 - the first valid type.validType2 - the second valid type.providedType - the type provided.IllegalArgumentException for the error.@Message(id=51,
value="Operation with id %d already registered")
IllegalStateException operationIdAlreadyExists(int operationId)
operationId - the operation idIllegalStateException for the error.@Message(id=52,
value="Null executor")
IllegalArgumentException nullExecutor()
@Message(id=53,
value="Could not connect to %s. The connection failed")
ConnectException failedToConnect(URI uri,
@Cause
Exception cause)
uri - the URI attempted to connect.cause - the cause of the failure.ConnectException for the error.@Message(id=54,
value="Channel closed")
IOException channelClosed()
IOException for the error.@Message(id=55,
value="no handler registered for request type \'%s\'.")
IOException noSuchResponseHandler(String type)
@Message(id=56,
value="No response handler for request %s")
IOException responseHandlerNotFound(int id)
id - the id.IOException for the error.@LogMessage(level=INFO)
@Message(id=57,
value="%s cancelled task by interrupting thread %s")
void cancelledAsyncTask(String asyncTaskRunner,
Thread thread)
@LogMessage(level=INFO)
@Message(id=58,
value="%s cancelled task before execution began")
void cancelledAsyncTaskBeforeRun(String asyncTaskRunner)
@LogMessage(level=INFO)
@Message(id=59,
value="You are using a deprecated way to set the client bind address. Please use the \"--bind\" parameter on the CLI instead of the %s system property.")
void deprecatedCLIConfiguration(String systemPropName)
@Message(id=60,
value="Channel open request timed out")
IOException channelTimedOut()
Copyright © 2018 JBoss by Red Hat. All rights reserved.