org.I0Itec.zkclient.serialize
Class BytesPushThroughSerializer
java.lang.Object
org.I0Itec.zkclient.serialize.BytesPushThroughSerializer
- All Implemented Interfaces:
- ZkSerializer
public class BytesPushThroughSerializer
- extends Object
- implements ZkSerializer
A ZkSerializer which simply passes byte arrays to zk and back.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BytesPushThroughSerializer
public BytesPushThroughSerializer()
deserialize
public Object deserialize(byte[] bytes)
throws ZkMarshallingError
- Specified by:
deserialize in interface ZkSerializer
- Throws:
ZkMarshallingError
serialize
public byte[] serialize(Object bytes)
throws ZkMarshallingError
- Specified by:
serialize in interface ZkSerializer
- Throws:
ZkMarshallingError
Copyright © 2011. All Rights Reserved.