com.googlecode.mobilityrpc.protocol.converters
Interface ComponentConverter<T,ProtobufObject,ProtobufBuilder>

All Known Implementing Classes:
RequestIdentifierComponentConverter, UuidComponentConverter

public interface ComponentConverter<T,ProtobufObject,ProtobufBuilder>

Interface implemented by classes which can convert Java object (POJO) representations of message components to/from binary using protobuf.

Author:
Niall Gallagher

Method Summary
 T convertFromProtobuf(ProtobufObject protobufObject)
           
 ProtobufBuilder convertToProtobuf(T javaObject)
           
 

Method Detail

convertFromProtobuf

T convertFromProtobuf(ProtobufObject protobufObject)

convertToProtobuf

ProtobufBuilder convertToProtobuf(T javaObject)


Copyright © 2012. All Rights Reserved.