org.apache.qpid.server.logging.actors
Class AMQPConnectionActor

java.lang.Object
  extended by org.apache.qpid.server.logging.actors.AbstractActor
      extended by org.apache.qpid.server.logging.actors.AMQPConnectionActor
All Implemented Interfaces:
LogActor

public class AMQPConnectionActor
extends AbstractActor

An AMQPConnectionActor represtents a connectionthrough the AMQP port.

This is responsible for correctly formatting the LogActor String in the log

[ con:1(user@127.0.0.1/) ]

To do this it requires access to the IO Layers.


Field Summary
 
Fields inherited from class org.apache.qpid.server.logging.actors.AbstractActor
_msgPrefix, _rootLogger
 
Constructor Summary
AMQPConnectionActor(AMQProtocolSession session, RootMessageLogger rootLogger)
           
 
Method Summary
 String getLogMessage()
           
 
Methods inherited from class org.apache.qpid.server.logging.actors.AbstractActor
getRootMessageLogger, message, message, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AMQPConnectionActor

public AMQPConnectionActor(AMQProtocolSession session,
                           RootMessageLogger rootLogger)
Method Detail

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