| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableCastMessage.ImmutableBinaryCastMessage
An
ImmutableCastMessage implementation for binary payloads. |
static class |
ImmutableCastMessage.ImmutableStringCastMessage
An
ImmutableCastMessage implementation for string payloads. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableCastMessage |
ImmutableCastMessage.create(CastChannel.CastMessage message)
Creates either an
ImmutableCastMessage.ImmutableStringCastMessage or an
ImmutableCastMessage.ImmutableBinaryCastMessage depending on the payload type, which
holds the data from the specified CastChannel.CastMessage. |
protected static ImmutableCastMessage |
Channel.readMessage(InputStream inputStream)
Reads the next
CastChannel.CastMessage from the specified InputStream
in a blocking fashion. |
Copyright © 2022. All rights reserved.