org.rhq.enterprise.communications.command.server
Class IncomingCommandTrace

java.lang.Object
  extended by org.rhq.enterprise.communications.command.server.IncomingCommandTrace

public class IncomingCommandTrace
extends Object

Object that will log incoming commands, used mainly for debugging a remoting endpoint.

Author:
John Mazzitelli

Constructor Summary
IncomingCommandTrace()
           
 
Method Summary
static void finish(Command command, Object response)
          Call this when the command is finished - that is, after the command has been processed and its response is about to be returned.
static void start(Command command)
          Call this when the command is just received since being delivered over the wire.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IncomingCommandTrace

public IncomingCommandTrace()
Method Detail

start

public static void start(Command command)
Call this when the command is just received since being delivered over the wire.

Parameters:
command - the command that was just sent.

finish

public static void finish(Command command,
                          Object response)
Call this when the command is finished - that is, after the command has been processed and its response is about to be returned.

Parameters:
command - the command that has just finished
response - the response object that is going to be sent back to the client


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.