org.apache.qpid.server.logging.actors
Class AMQPChannelActor
java.lang.Object
org.apache.qpid.server.logging.actors.AbstractActor
org.apache.qpid.server.logging.actors.AMQPChannelActor
- All Implemented Interfaces:
- LogActor
public class AMQPChannelActor
- extends AbstractActor
An AMQPChannelActor represtents a connection through the AMQP port with an
associated Channel.
This is responsible for correctly formatting the LogActor String in the log
[con:1(user@127.0.0.1/)/ch:1]
To do this it requires access to the IO Layers as well as a Channel
AMQPChannelActor
public AMQPChannelActor(AMQChannel channel,
RootMessageLogger rootLogger)
- Create a new ChannelActor
- Parameters:
channel
- The Channel for this LogActorrootLogger
- The root Logger that this LogActor should use
getLogMessage
public String getLogMessage()
- Specified by:
getLogMessage
in interface LogActor
- Specified by:
getLogMessage
in class AbstractActor
- Returns:
- the String representing this LogActor
Licensed to the Apache Software Foundation