public abstract class SourceInfo extends java.lang.Object implements PacketSerializable
| Modifier and Type | Class and Description |
|---|---|
static class |
SourceInfo.Type |
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
addonId |
protected int |
angle |
protected java.lang.String |
codec |
protected boolean |
iconVisible |
protected java.util.UUID |
id |
protected java.util.UUID |
lineId |
protected byte |
state |
protected boolean |
stereo |
| Constructor and Description |
|---|
SourceInfo() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(com.google.common.io.ByteArrayDataInput in) |
abstract SourceInfo.Type |
getType() |
static SourceInfo |
of(com.google.common.io.ByteArrayDataInput in) |
void |
serialize(com.google.common.io.ByteArrayDataOutput out) |
protected java.lang.String addonId
protected java.util.UUID id
protected java.util.UUID lineId
protected byte state
protected java.lang.String codec
protected boolean stereo
protected boolean iconVisible
protected int angle
public static SourceInfo of(com.google.common.io.ByteArrayDataInput in) throws java.io.IOException
java.io.IOExceptionpublic void deserialize(com.google.common.io.ByteArrayDataInput in)
throws java.io.IOException
deserialize in interface PacketSerializablejava.io.IOExceptionpublic void serialize(com.google.common.io.ByteArrayDataOutput out)
throws java.io.IOException
serialize in interface PacketSerializablejava.io.IOExceptionpublic abstract SourceInfo.Type getType()