com.eurotech.framework.core.cloud
Class CloudPayloadProtoBufEncoder
java.lang.Object
com.eurotech.framework.core.cloud.CloudPayloadProtoBufEncoder
- All Implemented Interfaces:
- CloudPayloadEncoder
public class CloudPayloadProtoBufEncoder
- extends Object
- implements CloudPayloadEncoder
Encodes an EsfPayload class using the Google ProtoBuf binary format.
Method Summary |
byte[] |
getBytes()
Conversion method to serialize an EsfPayload instance into a byte array. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CloudPayloadProtoBufEncoder
public CloudPayloadProtoBufEncoder(EsfPayload EsfPayload)
getBytes
public byte[] getBytes()
throws IOException
- Conversion method to serialize an EsfPayload instance into a byte array.
- Specified by:
getBytes
in interface CloudPayloadEncoder
- Returns:
-
- Throws:
IOException
Copyright © 2013. All Rights Reserved.