public class FlyweightCommand extends Object implements Flyweight<FlyweightCommand>, Command, Command.Id, DataFrame
Command.Id| Modifier and Type | Field and Description |
|---|---|
static short |
INDEX |
| Constructor and Description |
|---|
FlyweightCommand() |
| Modifier and Type | Method and Description |
|---|---|
Header |
header() |
Command.Id |
id() |
FlyweightCommand |
init(DirectBuffer command,
int offset) |
FlyweightCommand |
init(DirectBuffer header,
int headerOffset,
DirectBuffer payload,
int payloadOffset,
int payloadSize) |
FlyweightCommand |
init(MutableDirectBuffer header,
int headerOffset,
int source,
long sequence,
int type,
long time,
DirectBuffer payload,
int payloadOffset,
int payloadSize) |
DirectBuffer |
payload() |
FlyweightCommand |
reset() |
long |
sequence() |
int |
source() |
long |
time() |
String |
toString() |
int |
type() |
boolean |
valid() |
int |
writeTo(MutableDirectBuffer buffer,
int offset) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisAdmin, isApplicationpublic static final short INDEX
public FlyweightCommand init(MutableDirectBuffer header, int headerOffset, int source, long sequence, int type, long time, DirectBuffer payload, int payloadOffset, int payloadSize)
public FlyweightCommand init(DirectBuffer header, int headerOffset, DirectBuffer payload, int payloadOffset, int payloadSize)
public FlyweightCommand init(DirectBuffer command, int offset)
init in interface Flyweight<FlyweightCommand>public boolean valid()
public FlyweightCommand reset()
public Command.Id id()
public int source()
source in interface Command.Idpublic long sequence()
sequence in interface Command.Idpublic DirectBuffer payload()
public int writeTo(MutableDirectBuffer buffer, int offset)
Copyright © 2020 tools4j.org (Marco Terzer, Anton Anufriev). All Rights Reserved.