MCPcopy Create free account
hub / github.com/OpenTSDB/asynchbase / getMessage

Method getMessage

test/TestRegionClientDecode.java:1558–1561  ·  view source on GitHub ↗

Generate a mock MessageEvent from a byte array @param data The data to pass on @return The event to hand to messageReceived(

(final byte[] data)

Source from the content-addressed store, hash-verified

1556 * @return The event to hand to messageReceived(
1557 */
1558 static MessageEvent getMessage(final byte[] data) {
1559 final ChannelBuffer buf = ChannelBuffers.wrappedBuffer(data);
1560 return getMessage(buf);
1561 }
1562
1563 /**
1564 * Generate a mock MessageEvent from a ChannelBuffer

Calls

no outgoing calls

Tested by

no test coverage detected