Package org.jboss.as.protocol.logging
Interface ProtocolLogger
-
- All Superinterfaces:
org.jboss.logging.BasicLogger
- All Known Implementing Classes:
ProtocolLogger_$logger
@MessageLogger(projectCode="WFLYPRT", length=4) public interface ProtocolLogger extends org.jboss.logging.BasicLoggerDate: 21.07.2011- Author:
- James R. Perkins
-
-
Field Summary
Fields Modifier and Type Field Description static ProtocolLoggerCONNECTION_LOGGERA logger with the categoryorg.jboss.as.protocol.connection.static ProtocolLoggerROOT_LOGGERThe root logger with a category of the package.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcancelledAsyncTask(String asyncTaskRunner, Thread thread)voidcancelledAsyncTaskBeforeRun(String asyncTaskRunner)IOExceptionchannelClosed()Creates an exception indicating that the channel is closed.IOExceptionchannelTimedOut()ConnectExceptioncouldNotConnect(URI uri)Creates an exception indicating a connection could not be made.voiddeprecatedCLIConfiguration(String systemPropName)voiderrorClosingChannel(String message)Logs a warning message indicating an error occurred when closing the channel.voidfailedToCloseResource(Throwable cause, Object resource)Logs an error message indicating a failure to close the resource.voidfailedToCloseServerSocket(Throwable cause, ServerSocket socket)Logs an error message indicating a failure to close the server socket.ConnectExceptionfailedToConnect(URI uri, Exception cause)Creates an exception indicating a connection could not be made.IOExceptioninvalidByteToken(int expected, byte actual)Creates an exception indicating an invalid byte token was found.IOExceptioninvalidSignature(String signature)Creates an exception indicating the signature is invalid.IOExceptioninvalidType(String type)Creates an exception indicating the type is invalid.IllegalArgumentExceptioninvalidType(String validType1, String validType2, byte providedType)Creates an exception indicating the provided type was invalid.voidnoSuchRequest(int requestId, org.jboss.remoting3.Channel channel)IOExceptionnoSuchResponseHandler(String type)IllegalArgumentExceptionnullExecutor()IllegalStateExceptionoperationIdAlreadyExists(int operationId)Creates an exception indicating that the operation id is already taken.IOExceptionresponseHandlerNotFound(int id)Creates an exception indicating the response handler id was not found for the request.-
Methods inherited from interface org.jboss.logging.BasicLogger
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, warnv
-
-
-
-
Field Detail
-
ROOT_LOGGER
static final ProtocolLogger ROOT_LOGGER
The root logger with a category of the package.
-
CONNECTION_LOGGER
static final ProtocolLogger CONNECTION_LOGGER
A logger with the categoryorg.jboss.as.protocol.connection.
-
-
Method Detail
-
errorClosingChannel
@LogMessage(level=WARN) @Message(id=1, value="Got error closing channel %s") void errorClosingChannel(String message)Logs a warning message indicating an error occurred when closing the channel.- Parameters:
message- the error message.
-
failedToCloseResource
@LogMessage(level=ERROR) @Message(id=3, value="Failed to close resource %s") void failedToCloseResource(@Cause Throwable cause, Object resource)Logs an error message indicating a failure to close the resource.- Parameters:
cause- the cause of the error.resource- the resource.
-
failedToCloseServerSocket
@LogMessage(level=ERROR) @Message(id=4, value="Failed to close the server socket %s") void failedToCloseServerSocket(@Cause Throwable cause, ServerSocket socket)Logs an error message indicating a failure to close the server socket.- Parameters:
cause- the cause of the error.socket- the server socket.
-
noSuchRequest
@LogMessage(level=WARN) @Message(id=18, value="No such request (%d) associated with channel %s") void noSuchRequest(int requestId, org.jboss.remoting3.Channel channel)
-
couldNotConnect
@Message(id=23, value="Could not connect to %s. The connection timed out") ConnectException couldNotConnect(URI uri)Creates an exception indicating a connection could not be made.- Parameters:
uri- the URI attempted to connect.- Returns:
- a
ConnectExceptionfor the error.
-
invalidByteToken
@Message(id=30, value="Invalid byte token. Expecting \'%d\' received \'%d\'") IOException invalidByteToken(int expected, byte actual)Creates an exception indicating an invalid byte token was found.- Parameters:
expected- the expected value.actual- the actual value.- Returns:
- an
IOExceptionfor the error.
-
invalidSignature
@Message(id=32, value="Invalid signature [%s]") IOException invalidSignature(String signature)Creates an exception indicating the signature is invalid.- Parameters:
signature- the invalid signature.- Returns:
- an
IOExceptionfor the error.
-
invalidType
@Message(id=34, value="Invalid type: %s") IOException invalidType(String type)Creates an exception indicating the type is invalid.- Parameters:
type- the invalid type.- Returns:
- an
IOExceptionfor the error.
-
invalidType
@Message(id=35, value="Type is neither %s or %s: %s") IllegalArgumentException invalidType(String validType1, String validType2, byte providedType)Creates an exception indicating the provided type was invalid.- Parameters:
validType1- the first valid type.validType2- the second valid type.providedType- the type provided.- Returns:
- an
IllegalArgumentExceptionfor the error.
-
operationIdAlreadyExists
@Message(id=51, value="Operation with id %d already registered") IllegalStateException operationIdAlreadyExists(int operationId)Creates an exception indicating that the operation id is already taken.- Parameters:
operationId- the operation id- Returns:
- an
IllegalStateExceptionfor the error.
-
nullExecutor
@Message(id=52, value="Null executor") IllegalArgumentException nullExecutor()
-
failedToConnect
@Message(id=53, value="Could not connect to %s. The connection failed") ConnectException failedToConnect(URI uri, @Cause Exception cause)Creates an exception indicating a connection could not be made.- Parameters:
uri- the URI attempted to connect.cause- the cause of the failure.- Returns:
- a
ConnectExceptionfor the error.
-
channelClosed
@Message(id=54, value="Channel closed") IOException channelClosed()Creates an exception indicating that the channel is closed.- Returns:
- an
IOExceptionfor the error.
-
noSuchResponseHandler
@Message(id=55, value="no handler registered for request type \'%s\'.") IOException noSuchResponseHandler(String type)
-
responseHandlerNotFound
@Message(id=56, value="No response handler for request %s") IOException responseHandlerNotFound(int id)Creates an exception indicating the response handler id was not found for the request.- Parameters:
id- the id.- Returns:
- an
IOExceptionfor the error.
-
cancelledAsyncTask
@LogMessage(level=INFO) @Message(id=57, value="%s cancelled task by interrupting thread %s") void cancelledAsyncTask(String asyncTaskRunner, Thread thread)
-
cancelledAsyncTaskBeforeRun
@LogMessage(level=INFO) @Message(id=58, value="%s cancelled task before execution began") void cancelledAsyncTaskBeforeRun(String asyncTaskRunner)
-
deprecatedCLIConfiguration
@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)
-
channelTimedOut
@Message(id=60, value="Channel open request timed out") IOException channelTimedOut()
-
-