net.sf.jbaobab.helper
Class ProtocolHelper.DummyTranslatorImpl

java.lang.Object
  extended by net.sf.jbaobab.helper.ProtocolHelper.DummyTranslatorImpl
All Implemented Interfaces:
Translator<ByteBuffer>
Enclosing class:
ProtocolHelper

public static final class ProtocolHelper.DummyTranslatorImpl
extends Object
implements Translator<ByteBuffer>

A Translator that does not translate anything. DummyTranslatorImpl instance is used when ProtocolHelper.pack(Seperator) is called.

Author:
Oakyoon Cha

Method Summary
 ByteBuffer translate(ByteBuffer buffer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

translate

public ByteBuffer translate(ByteBuffer buffer)
Specified by:
translate in interface Translator<ByteBuffer>