Package de.themoep.connectorplugin
Class BridgeCommon.BridgeMessage
java.lang.Object
de.themoep.connectorplugin.BridgeCommon.BridgeMessage
- Enclosing class:
- BridgeCommon<P extends ConnectorPlugin<R>,
R>
-
Constructor Summary
ModifierConstructorDescriptionBridgeMessage
(byte[] data) protected
BridgeMessage
(Message receivedMessage, byte[] data) -
Method Summary
Modifier and TypeMethodDescriptionstatic BridgeCommon.BridgeMessage
fromByteArray
(byte[] messageData) Deprecated.Since 1.5.static BridgeCommon.BridgeMessage
fromMessage
(Message message) byte[]
getData()
byte[]
-
Constructor Details
-
BridgeMessage
public BridgeMessage(byte[] data) -
BridgeMessage
- Since:
- 1.5
-
-
Method Details
-
writeToByteArray
public byte[] writeToByteArray() -
fromByteArray
@Deprecated public static BridgeCommon.BridgeMessage fromByteArray(byte[] messageData) throws VersionMismatchException Deprecated.Since 1.5. UsefromMessage(Message)
- Throws:
VersionMismatchException
-
fromMessage
public static BridgeCommon.BridgeMessage fromMessage(Message message) throws VersionMismatchException - Throws:
VersionMismatchException
- Since:
- 1.5
-
getReceivedMessage
-
getData
public byte[] getData()
-