public class BinaryMessage$
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static BinaryMessage$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
| Constructor and Description |
|---|
BinaryMessage$() |
| Modifier and Type | Method and Description |
|---|---|
BinaryMessage |
adapt(BinaryMessage msg) |
BinaryMessage |
create(org.apache.pekko.util.ByteString data)
Creates a strict binary message.
|
BinaryMessage |
create(org.apache.pekko.stream.javadsl.Source<org.apache.pekko.util.ByteString,?> dataStream)
Creates a streamed binary message.
|
public static final BinaryMessage$ MODULE$
public BinaryMessage create(org.apache.pekko.util.ByteString data)
data - (undocumented)public BinaryMessage create(org.apache.pekko.stream.javadsl.Source<org.apache.pekko.util.ByteString,?> dataStream)
dataStream - (undocumented)public BinaryMessage adapt(BinaryMessage msg)