public final class RemoteInstruments
extends java.lang.Object
The metadata section is stored as raw bytes (prefixed with an Int length field, the same way as any other literal), however the internal structure of it is as follows:
Metadata entry:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Key | Metadata entry length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... metadata entry ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Constructor and Description |
---|
RemoteInstruments(ExtendedActorSystem system) |
RemoteInstruments(ExtendedActorSystem system,
LoggingAdapter log) |
RemoteInstruments(ExtendedActorSystem system,
LoggingAdapter log,
scala.collection.immutable.Vector<RemoteInstrument> _instruments) |
Modifier and Type | Method and Description |
---|---|
static RemoteInstruments |
apply(ExtendedActorSystem system) |
static int |
combineKeyLength(byte k,
int l) |
static scala.collection.immutable.Vector<RemoteInstrument> |
create(ExtendedActorSystem system,
LoggingAdapter log) |
void |
deserialize(InboundEnvelope inboundEnvelope) |
void |
deserializeRaw(InboundEnvelope inboundEnvelope) |
static byte |
getKey(int kl) |
static int |
getLength(int kl) |
boolean |
isEmpty() |
void |
messageReceived(InboundEnvelope inboundEnvelope,
int size,
long time) |
void |
messageSent(OutboundEnvelope outboundEnvelope,
int size,
long time) |
boolean |
nonEmpty() |
void |
serialize(OptionVal<OutboundEnvelope> outboundEnvelope,
java.nio.ByteBuffer buffer) |
boolean |
timeSerialization() |
public RemoteInstruments(ExtendedActorSystem system, LoggingAdapter log, scala.collection.immutable.Vector<RemoteInstrument> _instruments)
public RemoteInstruments(ExtendedActorSystem system, LoggingAdapter log)
public RemoteInstruments(ExtendedActorSystem system)
public static RemoteInstruments apply(ExtendedActorSystem system)
public static int combineKeyLength(byte k, int l)
public static byte getKey(int kl)
public static int getLength(int kl)
public static scala.collection.immutable.Vector<RemoteInstrument> create(ExtendedActorSystem system, LoggingAdapter log)
public void serialize(OptionVal<OutboundEnvelope> outboundEnvelope, java.nio.ByteBuffer buffer)
public void deserialize(InboundEnvelope inboundEnvelope)
public void deserializeRaw(InboundEnvelope inboundEnvelope)
public void messageSent(OutboundEnvelope outboundEnvelope, int size, long time)
public void messageReceived(InboundEnvelope inboundEnvelope, int size, long time)
public boolean isEmpty()
public boolean nonEmpty()
public boolean timeSerialization()