com.couchbase.client
Class TapMessagePrinter

java.lang.Object
  extended by com.couchbase.client.TapMessagePrinter

public final class TapMessagePrinter
extends java.lang.Object

A utility class for printing the bytes of a tap message.


Method Summary
static void printMessage(net.spy.memcached.tapmessage.BaseMessage message, java.io.PrintWriter p)
          Prints the message in byte form in a pretty way.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

printMessage

public static void printMessage(net.spy.memcached.tapmessage.BaseMessage message,
                                java.io.PrintWriter p)
Prints the message in byte form in a pretty way. This function is mainly used for debugging.\ purposes.



Copyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.