|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jbaobab.helper.ProtocolHelper
public final class ProtocolHelper
A helper class for packing Seperator
and
Translator
into Protocol
.
Nested Class Summary | |
---|---|
static class |
ProtocolHelper.DummyTranslatorImpl
A Translator that does not translate anything. |
static class |
ProtocolHelper.PackedProtocolImpl<P>
A Protocol that delegates operations to
Seperator and
Translator . |
Method Summary | ||
---|---|---|
static Protocol<ByteBuffer> |
pack(Seperator seperator)
|
|
static
|
pack(Seperator seperator,
Translator<P> translator)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static <P> Protocol<P> pack(Seperator seperator, Translator<P> translator)
public static Protocol<ByteBuffer> pack(Seperator seperator)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |